Spaces:
Sleeping
Sleeping
James MacQuillan
commited on
Commit
·
6ac2591
1
Parent(s):
25a06c7
push
Browse files
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"
|
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 |
)
|