Skip to main content

Basic Conversation

A simple chatbot with conversation persistence:

Multi-Turn with Tools

Conversation with function calling:

Streaming Chat

Streaming responses with conversation persistence:

Cost Tracking Dashboard

Track costs across multiple users and conversations:

Custom Store Implementation

Implement a custom in-memory store:

RAG (Retrieval-Augmented Generation)

Combine conversation history with document retrieval:

Multi-Agent System

Orchestrate multiple specialized agents:

Next Steps

Conversation Store

Learn about the storage interface

Turn Handler

Master multi-turn conversations

Model Pricing

Track and optimize costs

Drizzle Provider

Set up PostgreSQL storage