Skip to main content

Module llm

Module llm 

Source

Modules§

anthropic
Anthropic API provider.
mistral
Mistral AI native API provider.
openai
OpenAI API provider (also works with any OpenAI-compatible API).
vertex

Structs§

LlmConfig
Message
MockLlmProvider
Mock LLM provider for testing. Returns the pre-configured response regardless of input.
SequenceMockLlmProvider
Mock LLM provider that returns responses from a queue. When the queue is exhausted, returns the fallback response. Useful for testing multi-step flows like synthesis (compose → codegen → recompose).

Enums§

LlmError
Role

Traits§

LlmProvider
Trait for LLM text completion.