Hey guys, I am using Genkit to embed
My concern is, when searching it takes too much to return a response, around 20 secs, this of course it is not acceptable for clients specially for search.
this is how my retriever looks
defineFirestoreRetriever(this.ai, {
name: HS_RETRIEVER_NAME,
firestore: this.db,
collection: PRODUCTS_100K_DATASET,
contentField: CONTENT_FIELD,
vectorField: VECTOR_FIELD,
embedder: textEmbeddingGecko003,
distanceMeasure: "DOT_PRODUCT",
metadataFields: ["id", "title"],
}); using
genkit 1.4.0any idea why retrieving takes too long? is it cause of the amount of items, or because I am using Firestore as the sort of Vector DB does Genkit indeed supports