searchChunksOp
searchChunksOp(
ctx:StorageOperationsContext,queryVector:number[],options?:object):Promise<ChunkSearchResult[]>
Defined in: src/lib/db/chat/operations.ts:2051
Search through message chunks for fine-grained semantic search. Returns the matching chunk text along with the parent message.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
‐ | |
|
|
|
‐ |
|
|
|
‐ |
|
|
Decrypted-vector cache, validated by | |
|
|
|
‐ |
|
|
|
Current embedding model; messages stored under a different non-null model are skipped. |
|
|
|
Skip every message in this conversation before scoring. |
|
|
|
‐ |
|
|
|
‐ |
|
|
( |
Receives row counts for the call. |
Returns
Promise<ChunkSearchResult[]>