Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ gpt4 = {
|
|
| 13 |
# Initialize agents
|
| 14 |
assistant = AssistantAgent(
|
| 15 |
name="assistant",
|
| 16 |
-
system_message="You are a helpful assistant.
|
| 17 |
llm_config=gpt4,
|
| 18 |
)
|
| 19 |
|
|
@@ -22,7 +22,7 @@ ragproxyagent = RetrieveUserProxyAgent(
|
|
| 22 |
human_input_mode="ALWAYS",
|
| 23 |
retrieve_config={
|
| 24 |
"task": "qa",
|
| 25 |
-
"docs_path": "./
|
| 26 |
"context_max_tokens": 5000,
|
| 27 |
"overwrite": False,
|
| 28 |
"get_or_create": True,
|
|
|
|
| 13 |
# Initialize agents
|
| 14 |
assistant = AssistantAgent(
|
| 15 |
name="assistant",
|
| 16 |
+
system_message="You are a helpful assistant. For user queries (1) summarize the answer first (2) provide additional background details and specifics and (3) provide helpful online resources",
|
| 17 |
llm_config=gpt4,
|
| 18 |
)
|
| 19 |
|
|
|
|
| 22 |
human_input_mode="ALWAYS",
|
| 23 |
retrieve_config={
|
| 24 |
"task": "qa",
|
| 25 |
+
"docs_path": "./docs/",
|
| 26 |
"context_max_tokens": 5000,
|
| 27 |
"overwrite": False,
|
| 28 |
"get_or_create": True,
|