snrspeaks commited on
Commit
1127c0e
1 Parent(s): 4028cfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,9 +105,9 @@ async def init():
105
 
106
  # Create a chain that uses the Chroma vector store
107
  chain = ConversationalRetrievalChain.from_llm(
108
- ChatOpenAI(temperature=0, model="gpt-4", streaming=True),
109
  chain_type="stuff",
110
- retriever=docsearch.as_retriever(search_kwargs={'k':5}),
111
  memory=memory,
112
  return_source_documents=True,
113
  )
 
105
 
106
  # Create a chain that uses the Chroma vector store
107
  chain = ConversationalRetrievalChain.from_llm(
108
+ ChatOpenAI(temperature=0, model="gpt-3.5-turbo-16k", streaming=True),
109
  chain_type="stuff",
110
+ retriever=docsearch.as_retriever(search_kwargs={'k':10}),
111
  memory=memory,
112
  return_source_documents=True,
113
  )