Spaces:
Runtime error
Runtime error
xuyingliKepler
commited on
Commit
•
d718356
1
Parent(s):
a77165b
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def setup_agents(config_list, answer_function):
|
|
93 |
"temperature": 0,
|
94 |
"functions": [
|
95 |
{
|
96 |
-
"name": "
|
97 |
"description": "Answer any questions relate to the paper",
|
98 |
"parameters": {
|
99 |
"type": "object",
|
@@ -117,7 +117,7 @@ def setup_agents(config_list, answer_function):
|
|
117 |
llm_config=llm_config,
|
118 |
system_message="""Reply TERMINATE if the task has been solved at full satisfaction.
|
119 |
Otherwise, reply CONTINUE, or the reason why the task is not solved yet.""",
|
120 |
-
function_map={"
|
121 |
)
|
122 |
return assistant, user_proxy
|
123 |
|
|
|
93 |
"temperature": 0,
|
94 |
"functions": [
|
95 |
{
|
96 |
+
"name": "answer_question",
|
97 |
"description": "Answer any questions relate to the paper",
|
98 |
"parameters": {
|
99 |
"type": "object",
|
|
|
117 |
llm_config=llm_config,
|
118 |
system_message="""Reply TERMINATE if the task has been solved at full satisfaction.
|
119 |
Otherwise, reply CONTINUE, or the reason why the task is not solved yet.""",
|
120 |
+
function_map={"answer_question": answer_question}
|
121 |
)
|
122 |
return assistant, user_proxy
|
123 |
|