langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Implement chat_history for openai_functions_agent

Open masrad opened this issue 2 years ago • 2 comments

Adds chat_history memory to openai_functions agent so that the agent takes chat_history into account when formulating responses

Who can review?

Tag maintainers/contributors who might be interested:

@hwchase17 @dev2049

masrad avatar Jun 15 '23 19:06 masrad

Possible duplicate of #6165. I think you are doing the same thing, but a little different. But yours is for a more up-to-date master.

0ptim avatar Jun 16 '23 06:06 0ptim

Possible duplicate of #6165. I think you are doing the same thing, but a little different. But yours is for a more up-to-date master.

Thank you, good call I hadn't seen that one. Also looks like while their implementation is based off of how StructuredChatAgent implements memory, I had based mine off of how the ConversationalChatAgent handles chat history

masrad avatar Jun 16 '23 13:06 masrad

we'll support memory with the other pr

hwchase17 avatar Jun 19 '23 00:06 hwchase17