Interface: VectorRetrievableGlueOptions
Defined in: src/batteries/vector/retrievable_glue.ts:19
Configuration for wiring a vector store to the ADK's retrievable lifecycle callbacks.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
collection | string | Collection the retrievables live in. | src/batteries/vector/retrievable_glue.ts:23 |
deriveQuery? | (ctx: TurnContext) => | string | number[] | Promise<string | number[] | undefined> | undefined | Derives the retrieval query from the turn context; defaults to the last user message. | src/batteries/vector/retrievable_glue.ts:31 |
filter? | VectorFilter | Optional filter applied to every retrieval query. | src/batteries/vector/retrievable_glue.ts:29 |
store | CallableVectorStore | The callable vector store the callbacks query and write to. | src/batteries/vector/retrievable_glue.ts:21 |
topK? | number | Maximum number of retrievables to fetch per turn (default 5). | src/batteries/vector/retrievable_glue.ts:27 |
toRetrievable? | (m: VectorMatch) => Omit<RawRetrievable, "trustTier"> | Maps a VectorMatch to a raw retrievable (trust tier applied separately). | src/batteries/vector/retrievable_glue.ts:35 |
trustTier | | RetrievableTrustTier | ((m: VectorMatch) => RetrievableTrustTier) | Trust tier for fetched matches — a fixed tier, or a per-match function. | src/batteries/vector/retrievable_glue.ts:25 |