Spaces:
Sleeping
Sleeping
Serjesh
commited on
Commit
•
1863a1b
1
Parent(s):
62539d5
Updating model
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ async def init():
|
|
62 |
docsearch = await cl.make_async(FAISS.from_documents)(documents, embedder)
|
63 |
|
64 |
chain = RetrievalQA.from_chain_type(
|
65 |
-
ChatOpenAI(model="gpt-
|
66 |
chain_type="stuff",
|
67 |
return_source_documents=True,
|
68 |
retriever=docsearch.as_retriever(),
|
|
|
62 |
docsearch = await cl.make_async(FAISS.from_documents)(documents, embedder)
|
63 |
|
64 |
chain = RetrievalQA.from_chain_type(
|
65 |
+
ChatOpenAI(model="gpt-3.5-turbo", temperature=0, streaming=True),
|
66 |
chain_type="stuff",
|
67 |
return_source_documents=True,
|
68 |
retriever=docsearch.as_retriever(),
|