Method to perform a similarity search in the Tigris database and return the k most similar vectors along with their similarity scores.
similaritySearchVectorWithScore(
query: number[],
k: number,
filter: object
): Promise<[Document<Record<string, any>>, number][]>| Name | Type | Description |
|---|---|---|
query* | number[] | The query vector. |
k* | number | The number of most similar vectors to return. |
filter | object | Optional filter object to apply during the search. |