leandrocarneiro commited on
Commit
9f9fa14
·
verified ·
1 Parent(s): 51ed789

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +2 -2
rag.py CHANGED
@@ -70,8 +70,8 @@ class Rag:
70
  partial_variables={"min_words": min_words, "max_words": max_words})
71
 
72
  self.qa = ConversationalRetrievalChain.from_llm(
73
- llm=ChatOpenAI(model_name="gpt-3.5-turbo-1106",
74
- temperature=1,
75
  openai_api_key=os.environ['OPENAI_KEY'],
76
  max_tokens=int(int(max_words) + (int(max_words) / 2))), #número máximo de tokens para a resposta
77
  memory=self.memory,
 
70
  partial_variables={"min_words": min_words, "max_words": max_words})
71
 
72
  self.qa = ConversationalRetrievalChain.from_llm(
73
+ llm=ChatOpenAI(model_name="gpt-3.5-turbo",
74
+ temperature=0.1,
75
  openai_api_key=os.environ['OPENAI_KEY'],
76
  max_tokens=int(int(max_words) + (int(max_words) / 2))), #número máximo de tokens para a resposta
77
  memory=self.memory,