Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -123,7 +123,7 @@ async def start():
|
|
123 |
CONDENSE_QUESTION_PROMPT = PromptTemplate.from_template(_template)
|
124 |
|
125 |
########## Chain with streaming ##########
|
126 |
-
retrieval =
|
127 |
message_history = ChatMessageHistory()
|
128 |
memory = ConversationBufferMemory(
|
129 |
memory_key="chat_history",
|
|
|
123 |
CONDENSE_QUESTION_PROMPT = PromptTemplate.from_template(_template)
|
124 |
|
125 |
########## Chain with streaming ##########
|
126 |
+
retrieval = await retriever_to_cache()
|
127 |
message_history = ChatMessageHistory()
|
128 |
memory = ConversationBufferMemory(
|
129 |
memory_key="chat_history",
|