API Reference
Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.
Showing: redb.Route.Llm.Providers
Show all
redb.Route.Llm.Providers
Classes
| AnthropicProvider | Transport for Anthropic's Messages API (POST {baseUrl}/v1/messages). |
| LlmContentBlock | Base type for content blocks (text, tool-use, tool-result, thinking). |
| LlmHttpErrors | Turns a failed HTTP response into the right provider exception. One place, because the |
| LlmMessage | Single message in the conversation transcript sent to the provider. |
| LlmRateLimitException | Provider signalled rate limiting (HTTP 429). Distinct from |
| LlmRequest | Single completion request sent to a provider. |
| LlmResponse | Single completion response from a provider. |
| LlmStreamChunk | Single chunk yielded by . Non-final chunks have = |
| LlmTextBlock | Plain text block. |
| LlmThinkingBlock | Thinking / reasoning block returned by a provider that exposes its chain of thought — |
| LlmTimeoutException | A limit of the call to the model ran out (). |
| LlmToolResultBlock | Tool-result block sent back to the assistant on the next turn. |
| LlmToolUseBlock | Tool-use block emitted by the assistant — engine must dispatch the tool and |
| LlmTransientException | Transient provider failure that is safe to retry (HTTP 5xx, Anthropic's |
| LlmUsage | Token usage reported by the provider. |
| OpenAiEmbeddingProvider | Transport for any OpenAI-compatible embeddings endpoint |
| OpenAiProvider | Transport for any OpenAI-compatible Chat Completions endpoint |
| OpenAiTranscriptionProvider | Transport for any OpenAI-compatible speech endpoint |
| ReplayProvider | Deterministic backed by a JSON fixture on disk. |
| StubProvider | Deterministic provider for tests, demos, and Phase-0 smoke. Echoes the last |
Interfaces
| IEmbeddingProvider | Pure transport over an embeddings API — turns text into vectors. The sibling |
| ILlmProvider | Pure transport abstraction over an LLM API. Implementations are responsible |
| ITranscriptionProvider | Pure transport over a speech-to-text API — turns recorded audio into text. The |
Structs
| AnthropicModelProfile | Capability descriptor for an Anthropic model: which request fields the target |
| TranscriptionRequest | One recording to transcribe. |
| TranscriptionResult | What came back. |
Enums
| AnthropicModelTier | Contract generation of an Anthropic model, as it affects how a Messages-API |
| AnthropicSamplingPolicy | How the target model accepts the sampling knobs (temperature/top_p). |
| LlmStopReason | Reason the provider stopped generating. |
| LlmTimeoutKind | Which limit of a model call ran out. |
| ReplayMode | Mode for . |