langchain
langchain copied to clipboard
docs(agents/agent_types): Fix code example in chat_conversation_agent.mdx
Replace this comment with:
- Description: Adds missing code to the example so it can be run. Copied from conversational agent example.
- Issue: -
- Dependencies: -
- Tag maintainer: @baskaryan
- Twitter handle: @finnless
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| langchain | ⬜️ Ignored (Inspect) | Jul 9, 2023 1:18am |
this code snippet is imported in a file with other snippets that already define these variables, so doesn't the end result doc not need this? https://python.langchain.com/docs/modules/agents/agent_types/chat_conversation_agent
Fair enough, although it could be confusing if someone goes directly to that section https://python.langchain.com/docs/modules/agents/agent_types/chat_conversation_agent#using-a-chat-model
Also ConversationBufferMemory is repeated from the first notebook.
https://github.com/hwchase17/langchain/blob/2667ddc6867421842fe027f1946644f452de8eb3/docs/snippets/modules/agents/agent_types/chat_conversation_agent.mdx#L3-L8
I'll close for now.