Skip to content
Discussion options

You must be logged in to vote

Response from ADK Answering Agent (experimental, answer may be inaccurate)

TLDR: The grounding_chunks are provided only when the model's response is based on information retrieved from external data sources. They are not returned when the model answers from its internal memory.


Hello! That's an excellent question.

The grounding_metadata attribute, which contains the grounding_chunks, is populated only when the model determines that it needs to consult an external data source to provide a high-quality answer. This happens when the query requires up-to-date information or specific knowledge that isn't part of the model's internal training data. The model then uses a grounding tool, such as…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VenkataSakethDakuri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants