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.Engine.Storage
Show all
redb.Route.Llm.Engine.Storage
Classes
| ApprovalRecord | An approval decision joined with the request that triggered it. |
| BatchJobRecord | A persisted batch-submission record. |
| ConversationMessage | A persisted conversation message with its tree placement and metadata. |
| ConversationMessageMeta | Queryable metadata that lives on the message node — hoisted from |
| EvalIterationRecord | Per-iteration metric inside an . |
| EvalRunRecord | An evaluation run snapshot. |
| InMemoryApprovalStore | In-memory approval store — sufficient for tests and demos. |
| InMemoryBatchStore | In-memory — entries live only for the process lifetime. |
| InMemoryConversationStore | In-memory conversation store — suitable for unit tests and demos. |
| InMemoryCostBudgetStore | In-memory cost/token store. Replace with the redb-backed implementation in production. |
| InMemoryEvalRunStore | In-memory eval run store — used by unit tests; production swaps in the redb implementation. |
| InMemoryKnowledgeStore | In-memory knowledge store — does an O(N) cosine-similarity scan on every |
| InMemoryPromptTemplateRegistry | In-memory registry — registered templates live only for the process lifetime. |
| InMemoryToolCacheStore | In-memory tool cache. TTL is honoured lazily — entries are dropped on read. |
| InMemoryToolIdempotencyStore | In-memory idempotency store backed by a thin |
| KnowledgeChunk | A single embedded knowledge chunk. |
| KnowledgeSearchResult | A chunk returned by , with score. |
| PromptTemplate | A versioned prompt template. |
| ToolIdempotencyReservation | Outcome of . |
Interfaces
| IApprovalStore | Persists approval decisions for audit and replay. Every call answered by |
| IBatchStore | Tracks async-batch jobs submitted to LLM providers (Anthropic Message |
| IConversationStore | Persists conversation transcripts so that an agent run can be resumed, |
| ICostBudgetStore | Persists running cost / token usage per conversation so that an |
| IEvalRunStore | Persists the outcome of a recorded evaluation run. Used by the eval harness |
| IKnowledgeStore | Persists embedding-backed knowledge chunks for retrieval-augmented agent |
| IPromptTemplateRegistry | Resolves a named prompt template into the actual system / user text the |
| IToolCacheStore | Caches deterministic / read-only tool outputs by a content-hash key so repeated calls can skip |
| IToolIdempotencyStore | Tracks tool invocations so that retried or duplicated tool calls produce a |