Define a retriever that uses vector similarity search to retrieve documents from Firestore.
You must create a vector index on the associated field before you can perform nearest-neighbor
search.
A list of fields to include in the returned document metadata. If not supplied, all fields other
than the vector are included. Alternatively, provide a transform function to extract the desired
metadata fields from a snapshot.
name: string
The name of the retriever.
vectorField: string
The name of the field within the collection containing the vector data.
Define a retriever that uses vector similarity search to retrieve documents from Firestore. You must create a vector index on the associated field before you can perform nearest-neighbor search.