-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OutputParserException: Could not parse LLM output #10970
Comments
🤖 Hello, The error you're encountering, Here is the relevant code: def parse(self, completion: str) -> T:
try:
parsed_completion = self.parser.parse(completion)
except OutputParserException as e:
new_completion = self.retry_chain.run(
instructions=self.parser.get_format_instructions(),
completion=completion,
error=repr(e),
)
parsed_completion = self.parser.parse(new_completion)
return parsed_completion In this code, To resolve this issue, you need to ensure that the There have been similar issues reported in the LangChain repository. For instance, Issue #1106 and Issue #2985 both deal with I hope this helps! If you have any further questions or if the issue persists, please provide more details so I can assist you better. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Hi, @akashAD98, I'm helping the LangChain team manage their backlog and am marking this issue as stale. It looks like you're encountering an OutputParserException while running an AgentExecutor chain in a Google Colab experiment using a LLM 7b quantized model. I have provided an explanation of the Could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days. Thank you for your understanding and cooperation. If you have any further questions or need assistance, feel free to reach out. |
System Info
Doing experiment on google collab
using llam2 7b quantized model
below is my code
agent with memory & i tried A gentExecutor
error i im getting
Who can help?
@hwchase17 @agola11
Information
Related Components
Reproduction
Expected behavior
im getting op but error also coming with this
The text was updated successfully, but these errors were encountered: