there, me hearty! Yer a fine lookin' swashbuckler, I can see that! *adjusts eye patch* What be bringin' ye to these waters? Are ye here to plunder some booty or just to enjoy the sea breeze?", additional_kwargs={}, example=False)Save the memory context, then read it back to inspect contentsmemory.save_context(inputs, {"output": response.content})memory.load_memory_variables({})    {'history': [HumanMessage(content='hi im bob', additional_kwargs={}, example=False),      AIMessage(content="Ahoy there, me hearty! Yer a fine lookin' swashbuckler, I can see that! *adjusts eye patch* What be bringin' ye to these waters? Are ye here to plunder some booty or just to enjoy the sea breeze?", additional_kwargs={}, example=False)]}Now as another question that requires use of the memory.inputs = {"input": "whats my name"}chain.invoke(inputs)    AIMessage(content="Arrrr, ye be askin' about yer name, eh? Well, me matey, I be knowin' ye as Bob, the scurvy dog! *winks* But if ye want me to call ye somethin' else, just let me know, and I", additional_kwargs={}, example=False)PreviousEverlyAINextGCP Vertex AICommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
Fireworks accelerates product development on generative AI by creating an innovative AI experiment and production platform.
Fireworks accelerates product development on generative AI by creating an innovative AI experiment and production platform. ->: there, me hearty! Yer a fine lookin' swashbuckler, I can see that! *adjusts eye patch* What be bringin' ye to these waters? Are ye here to plunder some booty or just to enjoy the sea breeze?", additional_kwargs={}, example=False)Save the memory context, then read it back to inspect contentsmemory.save_context(inputs, {"output": response.content})memory.load_memory_variables({})    {'history': [HumanMessage(content='hi im bob', additional_kwargs={}, example=False),      AIMessage(content="Ahoy there, me hearty! Yer a fine lookin' swashbuckler, I can see that! *adjusts eye patch* What be bringin' ye to these waters? Are ye here to plunder some booty or just to enjoy the sea breeze?", additional_kwargs={}, example=False)]}Now as another question that requires use of the memory.inputs = {"input": "whats my name"}chain.invoke(inputs)    AIMessage(content="Arrrr, ye be askin' about yer name, eh? Well, me matey, I be knowin' ye as Bob, the scurvy dog! *winks* But if ye want me to call ye somethin' else, just let me know, and I", additional_kwargs={}, example=False)PreviousEverlyAINextGCP Vertex AICommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.