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 using langchain and cohere. It works fine whenever i used invoke with agent executor, but whenever i moved for streaming and using astream_events i got extra data along with the response. Following is my sample code and response.
Plan: I will greet the user and ask for their name and location, then tailor my response accordingly. Action: json [ { "tool_name": "directly_answer", "parameters": {} } ] Relevant Documents: None Cited Documents: None Answer: Hi! It's lovely to hear from you. What's your name, and are you based in Australia or New Zealand? Grounded answer: Hi! It's lovely to hear from you. What's your name, and are you based in Australia or New Zealand?
I am using langchain and cohere. It works fine whenever i used invoke with agent executor, but whenever i moved for streaming and using astream_events i got extra data along with the response. Following is my sample code and response.
I am getting following response:
https://docs.cohere.com/v2/docs/implementing-a-multi-step-agent-with-langchain i found multi step agent log should be like my response.
The text was updated successfully, but these errors were encountered: