James MacQuillan commited on
Commit
a40de97
1 Parent(s): 93203f3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -446,7 +446,7 @@ def detect_data_request(user_input, history):
446
 
447
  response = client.chat_completion(
448
  model="Qwen/Qwen2.5-72B-Instruct",
449
- messages=[{"role": "user", "content": f"you are IM.B, an intelligent investing AI model built by automatedstockmining.org, answer this question: {youreq} with this data {extracted_content}, if the data is not there say to the user: sorry, looks like there was error processing the data on our end, please rephrase question, referencing specific websites you want the data from"}],
450
  max_tokens=1500,
451
  stream=False
452
  )
 
446
 
447
  response = client.chat_completion(
448
  model="Qwen/Qwen2.5-72B-Instruct",
449
+ messages=[{"role": "user", "content": f"you are IM.B, an intelligent investing AI model built by automatedstockmining.org, answer this question: {youreq} with this data {extracted_content}, if the data is not there say to the user: sorry, looks like there was error processing the data on our end, please rephrase question, referencing specific websites you want the data from. YOU NEVER CONTRADICT THE DATA YOU ARE GIVEN AND SAY ITS NOT RIGHT, YOU GO OFF THE DATA YOU RECIEVE NOT YOUR KNOWLEDGE!"}],
450
  max_tokens=1500,
451
  stream=False
452
  )