█████╗ ██╗ ███████╗██████╗ ██╗ ██╗
██╔══██╗██║ ██╔════╝██╔══██╗██║ ██╔╝
███████║██║ ███████╗██║ ██║█████╔╝
██╔══██║██║ ╚════██║██║ ██║██╔═██╗
██║ ██║██║ ███████║██████╔╝██║ ██╗
╚═╝ ╚═╝╚═╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝
A unified interface for working with different AI language model providers. Built with clean architecture and support for many providers
pip install ai-sdk-py
from ai_sdk import generate_text
from ai_sdk.openai import openai
# Generate text
response = generate_text(
model=openai("gpt-4o"),
system="You are a helpful assistant.",
prompt="What is the meaning of life?"
)
print(response.text)
- 🤖 Unified interface for multiple AI providers
- 🌟 Clean, modular architecture
- 🚀 Easy to extend with new providers
- 🛠️ Built-in support for function calling and tools
- 🖼️ Image generation and analysis capabilities
- 📋 Structured output generation with type validation
- Anthropic (Claude)
- OpenAI (GPT-4, GPT-3.5)
- More coming soon!
Contributions are welcome! Please read our Contributing Guidelines before submitting a pull request.
MIT License - see LICENSE for details.
Created and maintained by @jverre.