Spaces:
Runtime error
Runtime error
Fix prompt error
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from autogen.retrieve_utils import TEXT_FORMATS
|
|
9 |
from autogen.agentchat.contrib.retrieve_assistant_agent import RetrieveAssistantAgent
|
10 |
from autogen.agentchat.contrib.retrieve_user_proxy_agent import (
|
11 |
RetrieveUserProxyAgent,
|
12 |
-
|
13 |
)
|
14 |
|
15 |
|
@@ -38,7 +38,7 @@ def initialize_agents(config_list, docs_path=None):
|
|
38 |
"model": _config_list[0]["model"],
|
39 |
"client": chromadb.PersistentClient(path="/tmp/chromadb"),
|
40 |
"embedding_model": "all-mpnet-base-v2",
|
41 |
-
"customized_prompt":
|
42 |
},
|
43 |
)
|
44 |
|
|
|
9 |
from autogen.agentchat.contrib.retrieve_assistant_agent import RetrieveAssistantAgent
|
10 |
from autogen.agentchat.contrib.retrieve_user_proxy_agent import (
|
11 |
RetrieveUserProxyAgent,
|
12 |
+
PROMPT_CODE,
|
13 |
)
|
14 |
|
15 |
|
|
|
38 |
"model": _config_list[0]["model"],
|
39 |
"client": chromadb.PersistentClient(path="/tmp/chromadb"),
|
40 |
"embedding_model": "all-mpnet-base-v2",
|
41 |
+
"customized_prompt": PROMPT_CODE,
|
42 |
},
|
43 |
)
|
44 |
|