genaiquest
commited on
Commit
•
4fe6dfe
1
Parent(s):
e7de495
updating the 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(),
|