Spaces:
Sleeping
Sleeping
James MacQuillan
commited on
Commit
·
7502b02
1
Parent(s):
5ede06d
push
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ def process_query(user_input, history):
|
|
211 |
# Step 3: Generate a response using the search results
|
212 |
response = client.chat_completion(
|
213 |
model="Qwen/Qwen2.5-72B-Instruct",
|
214 |
-
messages=[{"role": "user", "content": f"Using the search results: {search_results_str} and chat history {history}, this vector database on health checks {retrieved_texts} answer the user's query '{user_input}' in a concise, precise way, using numerical data if available. ONLY GIVE ONE RESPONSE BACK, CONCISE OR DETAILED BASED ON THE USERS INPUT.
|
215 |
max_tokens=3000,
|
216 |
stream=True
|
217 |
)
|
|
|
211 |
# Step 3: Generate a response using the search results
|
212 |
response = client.chat_completion(
|
213 |
model="Qwen/Qwen2.5-72B-Instruct",
|
214 |
+
messages=[{"role": "user", "content": f"Using the search results: {search_results_str} and chat history {history}, this vector database on health checks {retrieved_texts} answer the user's query '{user_input}' in a concise, precise way, using numerical data if available. ONLY GIVE ONE RESPONSE BACK, CONCISE OR DETAILED BASED ON THE USERS INPUT. "}],
|
215 |
max_tokens=3000,
|
216 |
stream=True
|
217 |
)
|