Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -105,9 +105,9 @@ async def init():
|
|
105 |
|
106 |
# Create a chain that uses the Chroma vector store
|
107 |
chain = ConversationalRetrievalChain.from_llm(
|
108 |
-
ChatOpenAI(temperature=0, model="gpt-
|
109 |
chain_type="stuff",
|
110 |
-
retriever=docsearch.as_retriever(search_kwargs={'k':
|
111 |
memory=memory,
|
112 |
return_source_documents=True,
|
113 |
)
|
|
|
105 |
|
106 |
# Create a chain that uses the Chroma vector store
|
107 |
chain = ConversationalRetrievalChain.from_llm(
|
108 |
+
ChatOpenAI(temperature=0, model="gpt-3.5-turbo-16k", streaming=True),
|
109 |
chain_type="stuff",
|
110 |
+
retriever=docsearch.as_retriever(search_kwargs={'k':10}),
|
111 |
memory=memory,
|
112 |
return_source_documents=True,
|
113 |
)
|