Update app.py
Browse filesswitching to gpt-3.5-turbo
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(),
|