You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a Chatbot in spring-ai using VertexAI and i want to add citation to the response generated, but I am having probelms getting the cited sources from the ChatResponse object. I have set the .googleSearchRetreival(TRUE) and i am able to get answers to recent events, but when I look through the MetaData for citations, its being populated with the DefaultChatGenerationMetaData which does not contain the citation sources (ie. groundingMetadata)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am creating a Chatbot in spring-ai using VertexAI and i want to add citation to the response generated, but I am having probelms getting the cited sources from the ChatResponse object. I have set the .googleSearchRetreival(TRUE) and i am able to get answers to recent events, but when I look through the MetaData for citations, its being populated with the DefaultChatGenerationMetaData which does not contain the citation sources (ie. groundingMetadata)
Any help regarding this would be helpful
Beta Was this translation helpful? Give feedback.
All reactions