Expand description
Host-injected embedding provider contract and bounded batch execution.
This module does not own workspace traversal, vector storage, or session lifecycle. It validates provider output before a later retrieval runtime can publish vectors into a session-owned index.
Structs§
- Embedding
Batch Request - One bounded request passed to an
super::EmbeddingProvider. - Embedding
Batch Response - Provider response for one batch.
- Embedding
Execution - Fully validated output. Vectors preserve caller input order.
- Embedding
Executor - Validating, batching wrapper around one host-injected provider generation.
- Embedding
Executor Config - Hard limits and retry policy for one embedding executor generation.
- Embedding
Input - One caller-identified text input.
- Embedding
Provider Descriptor - Immutable identity and output shape for one embedding generation.
- Embedding
Vector - One provider-returned embedding vector.
Enums§
- Embedding
Error - Validation and execution failures produced by
super::EmbeddingExecutor. - Embedding
Failure Kind - Stable category used for retry and degraded-state decisions.
- Embedding
Normalization - Vector normalization promised by an embedding provider.
- Embedding
Provider Error - Typed failure returned by a host embedding adapter.
Traits§
- Embedding
Provider - Host-owned source of embedding vectors.