wholewhale commited on
Commit
e2d5a56
·
1 Parent(s): c283844
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,7 +63,7 @@ def pdf_changes(pdf_doc):
63
  retriever = db.as_retriever()
64
  global qa
65
  qa = ConversationalRetrievalChain.from_llm(
66
- llm=OpenAI(temperature=0.2, model_name="gpt-3.5-turbo", max_tokens=-1, n=2),
67
  retriever=retriever,
68
  return_source_documents=False
69
  )
@@ -136,7 +136,7 @@ title = """
136
  <h1>CauseWriter Chat with PDF • OpenAI</h1>
137
  <p style="text-align: center;">Upload a .PDF from your computer, click the "Load PDF to LangChain" button, <br />
138
  when everything is ready, you can start asking questions about the pdf. <br />
139
- This version is set to store chat history and uses OpenAI as LLM.</p>
140
  </div>
141
  """
142
 
 
63
  retriever = db.as_retriever()
64
  global qa
65
  qa = ConversationalRetrievalChain.from_llm(
66
+ llm=OpenAI(temperature=0.2, model_name="gpt-3.5-turbo-16k", max_tokens=-1, n=2),
67
  retriever=retriever,
68
  return_source_documents=False
69
  )
 
136
  <h1>CauseWriter Chat with PDF • OpenAI</h1>
137
  <p style="text-align: center;">Upload a .PDF from your computer, click the "Load PDF to LangChain" button, <br />
138
  when everything is ready, you can start asking questions about the pdf. <br />
139
+ This version is set to erase chat history and uses OpenAI as LLM.</p>
140
  </div>
141
  """
142