wholewhale
commited on
Commit
•
c723717
1
Parent(s):
70642bd
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def pdf_changes(pdf_doc):
|
|
32 |
retriever = db.as_retriever()
|
33 |
global qa
|
34 |
qa = ConversationalRetrievalChain.from_llm(
|
35 |
-
llm=OpenAI(temperature=0.2, model_name="gpt-
|
36 |
retriever=retriever,
|
37 |
return_source_documents=False
|
38 |
)
|
|
|
32 |
retriever = db.as_retriever()
|
33 |
global qa
|
34 |
qa = ConversationalRetrievalChain.from_llm(
|
35 |
+
llm=OpenAI(temperature=0.2, model_name="gpt-4", max_tokens=-1, n=2),
|
36 |
retriever=retriever,
|
37 |
return_source_documents=False
|
38 |
)
|