mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-07 03:00:27 +00:00
update workspace id
This commit is contained in:
parent
93c6c36dbf
commit
fd2f4d5e37
3 changed files with 7 additions and 7 deletions
|
|
@ -39,7 +39,7 @@ class AppworldReactAgent:
|
|||
use_experience: bool = False,
|
||||
make_experience: bool = False,
|
||||
exp_url: str = "http://0.0.0.0:8001/",
|
||||
workspace_id: str="appworld_8b_0725"):
|
||||
workspace_id: str="appworld_v1"):
|
||||
|
||||
self.index: int = index
|
||||
self.task_ids: List[str] = task_ids
|
||||
|
|
@ -63,7 +63,7 @@ class AppworldReactAgent:
|
|||
model=self.model_name,
|
||||
messages=messages,
|
||||
temperature=self.temperature,
|
||||
extra_body={"enable_thinking": False},
|
||||
extra_body={"enable_thinking": True},
|
||||
seed=0)
|
||||
|
||||
return response.choices[0].message.content
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ add experiences for appworld:
|
|||
curl -X POST "http://0.0.0.0:8001/vector_store" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"workspace_id": "appworld",
|
||||
"workspace_id": "appworld_v1",
|
||||
"action": "dump",
|
||||
"path": "./experience_library"
|
||||
}'
|
||||
|
|
|
|||
|
|
@ -137,10 +137,10 @@ def run_exp_statistic():
|
|||
df = df.set_index('file')
|
||||
|
||||
# Sort columns by the number in column name (best@8, best@4, best@2, best@1)
|
||||
# best_columns = [col for col in df.columns if col.startswith('best@')]
|
||||
best_columns = [col for col in df.columns]
|
||||
best_columns.sort(key=lambda x: x, reverse=False)
|
||||
df = df[best_columns]
|
||||
pass_columns = [col for col in df.columns if col.startswith('pass@')]
|
||||
# best_columns = [col for col in df.columns]
|
||||
pass_columns.sort(key=lambda x: x, reverse=False)
|
||||
df = df[pass_columns]
|
||||
|
||||
print("\n" + "=" * 80)
|
||||
print("Experiment Results Summary Table")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue