Hi there!! Has anyone successfully used

Hi there!! Has anyone successfully used Genkit's generate function to get the LLM to use only the metadata from retrieved documents? I'm using Firestore as the retriever backend , and from the traces I can see that the retriever works perfectly — it returns documents with metadata. However, no matter how I prompt (e.g., "ONLY use metadata"), the LLM seems to ignore the metadata and relies on the document content instead. Any tips or examples would be greatly appreciated!
Was this page helpful?