Spaces:
Build error
Build error
Update actions/actions.py
Browse files- actions/actions.py +1 -1
actions/actions.py
CHANGED
|
@@ -52,7 +52,7 @@ def generate_openai_response(user_queries, model_engine="gpt-3.5-turbo", max_tok
|
|
| 52 |
# Create the prompt template
|
| 53 |
#prompt_template = f"Using Relevant context:{context}\n\n and Previous User Query: {previous_user_query}\n\n Answer the next question in detail:{current_user_query}"
|
| 54 |
messages=[
|
| 55 |
-
{"role": "system", "content": f"You are tasked to find out the latest user intent and generate the question"},
|
| 56 |
]
|
| 57 |
max_user_queries_to_include = 4
|
| 58 |
|
|
|
|
| 52 |
# Create the prompt template
|
| 53 |
#prompt_template = f"Using Relevant context:{context}\n\n and Previous User Query: {previous_user_query}\n\n Answer the next question in detail:{current_user_query}"
|
| 54 |
messages=[
|
| 55 |
+
{"role": "system", "content": f"You are tasked to find out the latest user intent and generate the question related to omdena"},
|
| 56 |
]
|
| 57 |
max_user_queries_to_include = 4
|
| 58 |
|