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
In a production RAG system we typically want to return all retrieved documents obtained as part of the retrieval step, to e.g. show the user in the UI. What's the best way to do this with e.g. a CodeAgent?
One "hack" might be to go over previous steps and parse the tool output from the AgentStep.observation or AgentStep.action_output, but this seems silly. Did I miss something here?
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.
-
In a production RAG system we typically want to return all retrieved documents obtained as part of the retrieval step, to e.g. show the user in the UI. What's the best way to do this with e.g. a CodeAgent?
One "hack" might be to go over previous steps and parse the tool output from the AgentStep.observation or AgentStep.action_output, but this seems silly. Did I miss something here?
Beta Was this translation helpful? Give feedback.
All reactions