GenkitG
Genkitโ€ข8mo ago
rubber-blue

Does anyone know if it is possible to

Does anyone know if it is possible to return the metadata from the RAG documents that genkit used to base its answers on? I have succesfully implemented RAG using the documentation indexing en retrieving using firestore. I am indexing text from different documents and I want to return the document IDS for the documents the AI used to base its answer on. Is this possible, is there something I am missing?
Was this page helpful?