James MacQuillan commited on
Commit
6ac2591
·
1 Parent(s): 25a06c7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def process_query(user_input, history):
117
  # Step 3: Generate a response using the search results
118
  response = client.chat_completion(
119
  model="Qwen/Qwen2.5-72B-Instruct",
120
- messages=[{"role": "user", "content": f"I KNOW THAT ARE QWEN BUT if the user asks you are IM.S by quantineuron.com. Using the search results: {search_results_str} and chat history {history}, answer the user's query '{user_input}' concisely, using numerical data if available. "}],
121
  max_tokens=3000,
122
  stream=True
123
  )
 
117
  # Step 3: Generate a response using the search results
118
  response = client.chat_completion(
119
  model="Qwen/Qwen2.5-72B-Instruct",
120
+ messages=[{"role": "user", "content": f"Using the search results: {search_results_str} and chat history {history}, answer the user's query '{user_input}' concisely, using numerical data if available. "}],
121
  max_tokens=3000,
122
  stream=True
123
  )