Number of Agent Types Not Updated in the Docs
URL
https://python.langchain.com/api_reference/langchain/agents/langchain.agents.agent_types.AgentType.html
Checklist
- [X] I added a very descriptive title to this issue.
- [X] I included a link to the documentation page I am referring to (if applicable).
Issue with current documentation:
In the api docs as well as the langchain official documentation, there is mention of nine types of agent types. But in creating, the sql agent using your create_sql_agent class & passing CHAT_ZERO_SHOT_REACT_DESCRIPTION as the agent type. It was showing valur error, only four agent types are supported openai tools openai functions, ZERO_SHOT_REACT_DESCRIPTION etc. Please update the documentation as needed, there is a lot of confusion regarding this.
Idea or request for content:
Changes needed to be made in these documents:
https://python.langchain.com/api_reference/_modules/langchain/agents/agent_types.html#AgentType
https://python.langchain.com/api_reference/langchain/agents/langchain.agents.agent_types.AgentType.html#langchain.agents.agent_types.AgentType.ZERO_SHOT_REACT_DESCRIPTION
@ENUMERA8OR Can I take this issue ?
I am not a maintainer. Please ask a maintainer of the repo... & Read the contribution guide.
Hi, @ENUMERA8OR. I'm Dosu, and I'm helping the LangChain team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- The issue highlights a discrepancy in the LangChain documentation about the number of supported agent types in the
create_sql_agentclass. - Documentation claims nine agent types are supported, but only four are actually available.
- @AHB102 showed interest in fixing the issue, but you advised them to consult a maintainer and review the contribution guide.
Next Steps:
- Please confirm if this issue is still relevant to the latest version of the LangChain repository. If so, you can keep the discussion open by commenting here.
- If there is no further activity, the issue will be automatically closed in 7 days.
Thank you for your understanding and contribution!
Yes relevant, if lnot already solved...
@eyurtsev, the user @ENUMERA8OR has confirmed that this issue regarding the discrepancy in the LangChain documentation is still relevant. Could you please assist them with this?