Spaces:
Runtime error
Runtime error
Commit ·
ab850a0
1
Parent(s): 6581be2
Update app.py
Browse files
app.py
CHANGED
|
@@ -246,7 +246,7 @@ def get_gpt_response(prompt):
|
|
| 246 |
"model": "gpt-3.5-turbo",
|
| 247 |
"messages": [
|
| 248 |
{"role": "system", "content": "You are a customer success manager for Resquared that answers questions based on the knowledge base and adapts our pre-made templates based on user requests."},
|
| 249 |
-
{"role": "user", "content": "generate a response
|
| 250 |
{
|
| 251 |
"role": "user",
|
| 252 |
"content": f"I am a client with a request based on the Resquared knowledge base. Resquared's product has data on every local business and tools for contacting them. Model your answer, in fact tone and style, on the following information from the Resquared knowledge base. If i ask you for a template, you should generate a concise and informal template that closely resembles the structure, length, tone, and style of the example templates I provided which should never be more than 90 words.: {prompt}"
|
|
|
|
| 246 |
"model": "gpt-3.5-turbo",
|
| 247 |
"messages": [
|
| 248 |
{"role": "system", "content": "You are a customer success manager for Resquared that answers questions based on the knowledge base and adapts our pre-made templates based on user requests."},
|
| 249 |
+
{"role": "user", "content": "generate a response and be sure to analyze the data from our knowledge base you are provided"},
|
| 250 |
{
|
| 251 |
"role": "user",
|
| 252 |
"content": f"I am a client with a request based on the Resquared knowledge base. Resquared's product has data on every local business and tools for contacting them. Model your answer, in fact tone and style, on the following information from the Resquared knowledge base. If i ask you for a template, you should generate a concise and informal template that closely resembles the structure, length, tone, and style of the example templates I provided which should never be more than 90 words.: {prompt}"
|