Spaces:
Sleeping
Sleeping
feat: modified the prefix prompt and the manager agent description.
Browse files
src/insurance_assistants/agents.py
CHANGED
|
@@ -131,7 +131,7 @@ manager_agent = CodeAgent(
|
|
| 131 |
add_base_tools=True,
|
| 132 |
name="Versatile_Multi_Agent",
|
| 133 |
description="Answer health insurance related questions from pre-defined set of "
|
| 134 |
-
"health insurance documents using the `insurance_agent
|
| 135 |
)
|
| 136 |
manager_agent.system_prompt = manager_agent.system_prompt + PROMPT_PREFIX
|
| 137 |
|
|
|
|
| 131 |
add_base_tools=True,
|
| 132 |
name="Versatile_Multi_Agent",
|
| 133 |
description="Answer health insurance related questions from pre-defined set of "
|
| 134 |
+
"health insurance documents using the `insurance_agent` team member, search wikipedia and the web for general information.",
|
| 135 |
)
|
| 136 |
manager_agent.system_prompt = manager_agent.system_prompt + PROMPT_PREFIX
|
| 137 |
|
src/insurance_assistants/consts.py
CHANGED
|
@@ -25,6 +25,6 @@ The pre-ingested health insurance documents can be viewed under `PDF Viewer` sec
|
|
| 25 |
PROMPT_PREFIX = """\n
|
| 26 |
Apart from all the above instructions that we have given to you, FOLLOW the Additional Instructions below:
|
| 27 |
```
|
| 28 |
-
First identify if the question is regarding a health insurance. If so, always use the `insurance_agent` and return the results.Don't use any other
|
| 29 |
```
|
| 30 |
"""
|
|
|
|
| 25 |
PROMPT_PREFIX = """\n
|
| 26 |
Apart from all the above instructions that we have given to you, FOLLOW the Additional Instructions below:
|
| 27 |
```
|
| 28 |
+
First identify if the question is regarding a health insurance. If so, always use the `insurance_agent` team member and return the results. Don't use any other team member but the `insurance_agent`. Return the results from the `insurance_agent` directly.
|
| 29 |
```
|
| 30 |
"""
|