Ask a question to get started
Enter to send•Shift+Enter new line
Performs a similarity search in the database and returns the documents.
similaritySearch(query: string, k: number): Promise<Document<Record<string, any>>[]>
query
string
The query string.
k
number
The number of results to return.