thejas-gida commited on
Commit
0e5a0f6
·
1 Parent(s): 9a48c28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ tools = [
41
 
42
  num_outputs = 2000
43
  conversational_memory = ConversationBufferWindowMemory( memory_key='chat_history', k=5, return_messages=True )
44
- llm = OpenAI(temperature=0.3, model_name="text-davinci-003",max_tokens=num_outputs)
45
 
46
  agent_executor = initialize_agent(tools, llm, agent="conversational-react-description", memory=conversational_memory,agent_kwargs={'prefix':PREFIX,'suffix': SUFFIX})
47
 
 
41
 
42
  num_outputs = 2000
43
  conversational_memory = ConversationBufferWindowMemory( memory_key='chat_history', k=5, return_messages=True )
44
+ llm = OpenAI(temperature=0.5, model_name="gpt-4",max_tokens=num_outputs)
45
 
46
  agent_executor = initialize_agent(tools, llm, agent="conversational-react-description", memory=conversational_memory,agent_kwargs={'prefix':PREFIX,'suffix': SUFFIX})
47