Interface: MultimodalSearchResult
Defined in: packages/agentos/src/rag/multimodal/types.ts:218
A single result from a multimodal search query.
Extends the base vector store result with modality-specific fields so the caller knows what kind of content matched and can render it appropriately.
Properties
content
content:
string
Defined in: packages/agentos/src/rag/multimodal/types.ts:228
The text content that was embedded and matched. For images: the vision LLM description. For audio: the STT transcript. For text: the original text chunk.
id
id:
string
Defined in: packages/agentos/src/rag/multimodal/types.ts:220
Unique document ID in the vector store.
metadata?
optionalmetadata:Record<string,unknown>
Defined in: packages/agentos/src/rag/multimodal/types.ts:247
Any metadata attached during indexing. May include source URLs, file names, timestamps, etc.
modality
modality:
ContentModality
Defined in: packages/agentos/src/rag/multimodal/types.ts:241
The content modality of this result. Indicates whether the match came from text, image description, or audio transcript.
score
score:
number
Defined in: packages/agentos/src/rag/multimodal/types.ts:234
Cosine similarity score between the query and this result. Higher is more relevant (typically 0.0 to 1.0).