Skip to content
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

AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION #28912

Open
5 tasks done
Cloverxue opened this issue Dec 25, 2024 · 0 comments
Open
5 tasks done

AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION #28912

Cloverxue opened this issue Dec 25, 2024 · 0 comments
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@Cloverxue
Copy link

Cloverxue commented Dec 25, 2024

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

sugesstion: STRUCTURED_CHAT_FORMAT_INSTRUCTIONS(input->uotput). Action:

{{{{
  "action": "Final Answer",
  "action_input": "Final response to human."
}}}}   --->  ```
{{{{
  "action": "Final Answer",
  "action_output": "Final response to human."
}}}}

### Error Message and Stack Trace (if applicable)

In practice, it is found that llm is easy to interpret "Final Answer" as an input that leads to a bad final result

### Description

STRUCTURED_CHAT_FORMAT_INSTRUCTIONS

### System Info

STRUCTURED_CHAT_FORMAT_INSTRUCTIONS
@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant