Harrison/memory refactor (#1478)

moves memory to own module, factors out common stuff
This commit is contained in:
Harrison Chase
2023-03-07 07:59:37 -08:00
committed by GitHub
parent df6865cd52
commit 7bec461782
44 changed files with 3084 additions and 1610 deletions
@@ -17,7 +17,7 @@
"metadata": {},
"outputs": [],
"source": [
"from langchain.chains.conversation.memory import ConversationBufferMemory\n",
"from langchain.memory import ConversationBufferMemory\n",
"from langchain import OpenAI, LLMChain, PromptTemplate"
]
},
@@ -167,7 +167,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.9.1"
}
},
"nbformat": 4,