arnold-anand commited on
Commit
2ecea88
·
1 Parent(s): ebdb7c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def get_vectorstore(text_chunks):
32
 
33
  def get_conversation_chain(vectorstore):
34
  # llm = HuggingFaceHub(repo_id="google/flan-t5-xxl")
35
- llm = ChatOpenAI(max_tokens=4000)
36
  memory = ConversationBufferMemory(
37
  memory_key='chat_history', return_messages=True)
38
  conversation_chain = ConversationalRetrievalChain.from_llm(
 
32
 
33
  def get_conversation_chain(vectorstore):
34
  # llm = HuggingFaceHub(repo_id="google/flan-t5-xxl")
35
+ llm = ChatOpenAI(max_tokens=3000)
36
  memory = ConversationBufferMemory(
37
  memory_key='chat_history', return_messages=True)
38
  conversation_chain = ConversationalRetrievalChain.from_llm(