These attributes must be accepted by the constructor.
property lc_secrets: Dict[str, str]¶
A map of constructor argument names to secret ids.
For example,{“openai_api_key”: “OPENAI_API_KEY”}
Examples using ConversationBufferMemory¶
Gradio
SceneXplain
Xata chat memory
Streamlit Chat Message History
Dynamodb Chat Message History
Chat Over Documents with Vectara
Bittensor
Bedrock
Set env var OPENAI_API_KEY or load from a .env file:
Structure answers with OpenAI functions
Agents
Agent Debates with Tools
Message Memory in Agent backed by a database
Memory in the Multi-Input Chain
Memory in LLMChain
Multiple Memory classes
Customizing Conversational Memory
Memory in Agent
Shared memory across agents and tools
Add Memory to OpenAI Functions Agent
First we add a step to load memory
Adding memory