Expand description
Ollama adapter for turul_llm_core::LlmClient.
Wraps Ollama’s /api/chat endpoint. The caller supplies a rendered
prompt + optional JSON Schema; this crate forwards the schema as
Ollama’s format field (structured output) and parses the
message.content string as JSON before returning.
Live integration is opt-in via env vars (see examples/greet-ollama);
the crate’s own tests use wiremock so they remain hermetic.
Structs§
- Ollama
Client - Client targeting an Ollama
/api/chatendpoint.