map网站使用socks5连接到官网openstreetmap; 模型改成gpt-4o; llm fuzzy math也使用4o; 增加generate_test_data.py脚本
19 lines
840 B
Bash
19 lines
840 B
Bash
webarena_server_address="localhost"
|
|
|
|
export SHOPPING="http://${webarena_server_address}:28082"
|
|
export SHOPPING_ADMIN="http://${webarena_server_address}:28083/admin"
|
|
export REDDIT="http://${webarena_server_address}:28080"
|
|
export GITLAB="http://${webarena_server_address}:28084"
|
|
export MAP="https://www.openstreetmap.org"
|
|
export WIKIPEDIA="http://${webarena_server_address}:28081/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing"
|
|
export HOMEPAGE="http://${webarena_server_address}:20080"
|
|
|
|
export OPENAI_API_KEY="sk-xxx" # 改成你的key
|
|
export OPENAI_BASE_URL="https://aiproxy.lmzgc.cn:8080/v1"
|
|
|
|
export GEMINI_API_KEY="AIzaSyBwE1234567890" # Optional, we provide several other agent base models, such as Claude and LLaMa.
|
|
|
|
|
|
python browser_env/auto_login.py
|
|
python eval_webarena.py --config AgentOccam/configs/AgentOccam.yml
|