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 want to send the attached content to llm after a tool is called, but I don't want to send it to the front end. Currently, the package seems to only support sending the result of executed return to the next step of llm and front end.
One scenario is that we use the search tool to obtain a private knowledge base document and then pass it to LLM as context. We do not want the content of this document to be streamed to the front end, but we want the LLM in the next step to be able to obtain the document content.
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 want to send the attached content to llm after a tool is called, but I don't want to send it to the front end. Currently, the package seems to only support sending the result of executed return to the next step of llm and front end.
One scenario is that we use the search tool to obtain a private knowledge base document and then pass it to LLM as context. We do not want the content of this document to be streamed to the front end, but we want the LLM in the next step to be able to obtain the document content.
We use streamText with maxSteps.
Beta Was this translation helpful? Give feedback.
All reactions