Replies: 2 comments 4 replies
-
Hello @KosPsych! 👋 I'm Dosu, a bot here to assist you with your LangChain queries, debugging dilemmas, and to guide you on your way to becoming a contributor. While we await a human maintainer, I'm here to provide initial support and answer any questions you might have. Let's dive into your issue and see how we can resolve it together! |
Beta Was this translation helpful? Give feedback.
-
@dosu-bot I am creating an agent like agent = create_openai_tools_agent(self.model, self.tools, self.prompt) class Response(BaseModel):
please suggest me the same code |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I am initializing a langchain agent as seen in the code.
However, using print I would expect to see the output of the agent parsed and somehow manipulate it.
In my current code I can't seem to handle the output of the agent and the prints i wrote never happen.
Is there an alternative way to pass a custom output parser?
System Info
langchain==0.1.0
Beta Was this translation helpful? Give feedback.
All reactions