Skip to main content
ExampleDescription
BasicThis uses Ollama’s OpenAI-compatible /v1/responses endpoint, which was added.
Structured OutputThis demonstrates using Pydantic models for structured output with Ollama’s.
Tool UseThis demonstrates using tools with Ollama’s Responses API endpoint.