Chris Alexiuk
commited on
Commit
·
afe0594
1
Parent(s):
ebe5d57
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ async def init():
|
|
63 |
docsearch = await cl.make_async(FAISS.from_documents)(documents, embedder)
|
64 |
|
65 |
chain = RetrievalQA.from_chain_type(
|
66 |
-
ChatOpenAI(model="gpt-
|
67 |
chain_type="stuff",
|
68 |
return_source_documents=True,
|
69 |
retriever=docsearch.as_retriever(),
|
|
|
63 |
docsearch = await cl.make_async(FAISS.from_documents)(documents, embedder)
|
64 |
|
65 |
chain = RetrievalQA.from_chain_type(
|
66 |
+
ChatOpenAI(model="gpt-4", temperature=0, streaming=True),
|
67 |
chain_type="stuff",
|
68 |
return_source_documents=True,
|
69 |
retriever=docsearch.as_retriever(),
|