Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update rag_chain/chain.py
Browse files- rag_chain/chain.py +1 -1
rag_chain/chain.py
CHANGED
@@ -166,7 +166,7 @@ def get_rag_chain(
|
|
166 |
memory = ConversationBufferWindowMemory(
|
167 |
memory_key="history",
|
168 |
return_messages=True,
|
169 |
-
k=
|
170 |
)
|
171 |
|
172 |
# Set up runnable using LCEL
|
|
|
166 |
memory = ConversationBufferWindowMemory(
|
167 |
memory_key="history",
|
168 |
return_messages=True,
|
169 |
+
k=8,
|
170 |
)
|
171 |
|
172 |
# Set up runnable using LCEL
|