Method to perform a similarity search in the vector store. It returns
the k most similar documents to the query vector, along with their
similarity scores.
similaritySearchVectorWithScore(
query: number[],
k: number,
filter: Record<string, unknown>
): Promise<[Document<Record<string, any>>, number][]>