ShynBui commited on
Commit
749c5e4
1 Parent(s): 0d8912d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ parent_document_retrieve = load_the_parent_document_retrieve()
24
  # tokenizer = AutoTokenizer.from_pretrained("ShynBui/vie_qa", token=os.environ.get("HF_TOKEN"))
25
  # model = AutoModelForQuestionAnswering.from_pretrained("ShynBui/vie_qa", token=os.environ.get("HF_TOKEN"))
26
 
27
- llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=1,openai_api_key=os.environ["OPENAI_API_KEY"])
28
- llm_long = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=1,max_tokens=1024, openai_api_key=os.environ["OPENAI_API_KEY"])
29
 
30
 
31
  def greet3(quote, history):
 
24
  # tokenizer = AutoTokenizer.from_pretrained("ShynBui/vie_qa", token=os.environ.get("HF_TOKEN"))
25
  # model = AutoModelForQuestionAnswering.from_pretrained("ShynBui/vie_qa", token=os.environ.get("HF_TOKEN"))
26
 
27
+ llm = ChatOpenAI(model="gpt-4o-mini", temperature=1,openai_api_key=os.environ["OPENAI_API_KEY"])
28
+ llm_long = ChatOpenAI(model="gpt-4o-mini", temperature=1,max_tokens=1024, openai_api_key=os.environ["OPENAI_API_KEY"])
29
 
30
 
31
  def greet3(quote, history):