katsumiok/pyaskit
AskIt: Unified programming interface for programming with LLMs (GPT-3.5, GPT-4, Gemini, Claude, Cohere, Llama 2)
Provides type-guided output parsing that automatically deserializes LLM responses into Python types (primitives, TypedDicts, Lists) without manual formatting instructions or response parsing. Supports prompt templates via decorators and the `define` API for parameterized function definition, as well as code generation when `codable=True` to synthesize executable implementations. Integrates with OpenAI, Google Gemini, Anthropic Claude, Cohere, and Llama 2 APIs through environment-configured backends.
No commits in the last 6 months. Available on PyPI.
Stars
80
Forks
4
Language
Python
License
MIT
Category
Last pushed
Jan 11, 2025
Commits (30d)
0
Dependencies
5
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/katsumiok/pyaskit"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
promptslab/Promptify
Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured...
character-ai/prompt-poet
Streamlines and simplifies prompt design for both developers and non-technical users with a low...
masci/banks
LLM prompt language based on Jinja. Banks provides tools and functions to build prompts text and...
promplate/partial-json-parser
Parse partial JSON generated by LLM
Hunyuan-PromptEnhancer/PromptEnhancer
PromptEnhancer is a prompt-rewriting tool, refining prompts into clearer, structured versions...