Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,8 @@ def load_pdf(file_path):
|
|
| 67 |
return VectorStore
|
| 68 |
|
| 69 |
def load_chatbot():
|
| 70 |
-
return load_qa_chain(llm=OpenAI(), chain_type="stuff")
|
|
|
|
| 71 |
|
| 72 |
def display_chat_history(chat_history):
|
| 73 |
for chat in chat_history:
|
|
|
|
| 67 |
return VectorStore
|
| 68 |
|
| 69 |
def load_chatbot():
|
| 70 |
+
return load_qa_chain(llm=OpenAI(temperature=0.2, max_tokens=50), chain_type="stuff")
|
| 71 |
+
|
| 72 |
|
| 73 |
def display_chat_history(chat_history):
|
| 74 |
for chat in chat_history:
|