Spaces:
Build error
Build error
Update variables.py
Browse files- variables.py +0 -1
variables.py
CHANGED
@@ -98,7 +98,6 @@ def embed_tweets(query,_prompt,_docsearch):
|
|
98 |
chain_type_kwargs = {"prompt": _prompt}
|
99 |
chain = VectorDBQA.from_chain_type(
|
100 |
ChatOpenAI(temperature=0),
|
101 |
-
memory = ConversationBufferMemory(memory_key="chat_history", input_key="question"),
|
102 |
chain_type="stuff",
|
103 |
vectorstore=_docsearch,
|
104 |
chain_type_kwargs=chain_type_kwargs,
|
|
|
98 |
chain_type_kwargs = {"prompt": _prompt}
|
99 |
chain = VectorDBQA.from_chain_type(
|
100 |
ChatOpenAI(temperature=0),
|
|
|
101 |
chain_type="stuff",
|
102 |
vectorstore=_docsearch,
|
103 |
chain_type_kwargs=chain_type_kwargs,
|