AI Chat SDK Examples

Explore these examples to understand how to integrate and use the AI Chat SDK in your applications.

Basic Chat

Simple implementation of text-based chat using the SDK's core functionality.

Model Context Protocol

Advanced example showing how to use the Model Context Protocol for enhanced context handling.

Voice Chat

Implementation of voice-based chat with real-time audio streaming.

JavaScript Client

Browser-based implementation using the JavaScript client library.

Streaming Responses

Example showing how to implement streaming responses for better UX.

Multi-Provider

Example of working with multiple AI providers simultaneously.

Open Source Examples

Find more examples and integrations in our GitHub repository. Contribute your own examples to help the community!

Getting Started

Installation
pip install zeebee-ai-chat-sdk
Basic Usage
from zeebee_ai import ChatClient

# Initialize client with your API key
client = ChatClient(api_key="your_api_key")

# Send a message
response = client.chat(
    messages=[{"role": "user", "content": "Hello, who are you?"}],
    model="claude-3-5-sonnet-20241022"
)

print(response["content"])