-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add support for memoryPrompts in StructuredChatAgent #1347
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
We'd love to support memory in this agent, but the ideal implementation would probably look more like this: https://github.com/hwchase17/langchainjs/blob/main/langchain/src/agents/chat_convo/index.ts For this use-case, I'd suggest just passing a custom |
Seems like I was presumptive in closing this as it's what Python's implemented - reopening! Apologies for the confusion. |
GH-1414 is another attempt at providing memory support for this agent that is closer in spirit to the rest of ts codebase. |
memoryPrompts
inStructuredChatAgent
, inspired by python library: https://github.com/hwchase17/langchain/blob/master/langchain/agents/structured_chat/base.py#L94inputVariables
provided byStructuredChatCreatePromptArgs