Search a collection with a query and return the most similar documents.
Documentation Index
Fetch the complete documentation index at: https://docs.lambdadb.ai/llms.txt
Use this file to discover all available pages before exploring further.
Project API Key.
Collection name.
Query object. For managed embedding vector fields, use knn.queryText. For unmanaged vector fields, use knn.queryVector.
Number of documents to return. Note that the maximum number of documents is 100.
If your application requires a strongly consistent read, set consistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.
If your application need to include vector values in the response, set includeVectors to true.
List of field name, sort direction pairs.
An object to specify a list of field names to include and/or exclude in the result.
Documents selected by query.
Elapsed time in milliseconds.
Total number of documents returned.
List of documents.
Whether the list of documents is included.
Maximum score.
Optional download URL for the list of documents.