├── .gitignore ├── AI_ETHICS.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── hotpotqa_run ├── agent_arch.py ├── config.py ├── data │ ├── easy.joblib │ ├── hard.joblib │ └── medium.joblib ├── evaluate.py ├── fewshots.py ├── hotpotqa_env.py ├── llms.py ├── pre_prompt.py ├── utils.py ├── wikienv.py └── wrappers.py ├── page ├── BOLAA-webshop.gif ├── BOLAA.jpg ├── Reward_llama-2-70b.pdf ├── Reward_text-davinci-003.pdf ├── baseline_agents.png ├── reward_hotpot.jpg └── reward_webshop.jpg ├── requirements.txt ├── run_hotpotqaagent.py ├── run_webagent.py ├── test_hotpotqa.sh ├── test_webagent.sh ├── web_run ├── agent_arch.py ├── config.py ├── evaluate.py ├── llms.py ├── multi_agent_arch.py ├── pre_prompt.py ├── utils.py └── web_env.py └── webshop ├── LICENSE.md ├── README.md ├── requirements.txt ├── run_dev.sh ├── run_envs ├── run_web_agent_site_env.py └── run_web_agent_text_env.py ├── run_prod.sh ├── run_web_agent_site_env.sh ├── run_web_agent_text_env.sh ├── setup.sh ├── test.py ├── tests ├── transfer │ ├── mocks │ │ ├── mock_parse_item_page_amz │ │ ├── mock_parse_item_page_ebay │ │ ├── mock_parse_item_page_ws │ │ ├── mock_parse_item_page_ws_desc │ │ ├── mock_parse_item_page_ws_feat │ │ ├── mock_parse_results_amz │ │ ├── mock_parse_results_ebay │ │ └── mock_parse_results_ws │ └── test_predict_help.py └── web-agent-site │ ├── engine │ ├── test_goal.py │ └── test_normalize.py │ └── test_utils.py └── web_agent_site ├── __init__.py ├── agents └── shop_agent.py ├── app.py ├── attributes ├── annotate.py └── generate_attrs.py ├── engine ├── __init__.py ├── engine.py ├── goal.py └── normalize.py ├── envs ├── __init__.py ├── chromedriver ├── web_agent_site_env.py └── web_agent_text_env.py ├── models ├── __init__.py └── models.py ├── static ├── images │ └── no-image-available.png └── style.css ├── templates ├── attributes_page.html ├── description_page.html ├── done_page.html ├── features_page.html ├── item_page.html ├── results_page.html ├── review_page.html └── search_page.html └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/.gitignore -------------------------------------------------------------------------------- /AI_ETHICS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/AI_ETHICS.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/SECURITY.md -------------------------------------------------------------------------------- /hotpotqa_run/agent_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/agent_arch.py -------------------------------------------------------------------------------- /hotpotqa_run/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/config.py -------------------------------------------------------------------------------- /hotpotqa_run/data/easy.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/data/easy.joblib -------------------------------------------------------------------------------- /hotpotqa_run/data/hard.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/data/hard.joblib -------------------------------------------------------------------------------- /hotpotqa_run/data/medium.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/data/medium.joblib -------------------------------------------------------------------------------- /hotpotqa_run/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/evaluate.py -------------------------------------------------------------------------------- /hotpotqa_run/fewshots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/fewshots.py -------------------------------------------------------------------------------- /hotpotqa_run/hotpotqa_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/hotpotqa_env.py -------------------------------------------------------------------------------- /hotpotqa_run/llms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/llms.py -------------------------------------------------------------------------------- /hotpotqa_run/pre_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/pre_prompt.py -------------------------------------------------------------------------------- /hotpotqa_run/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/utils.py -------------------------------------------------------------------------------- /hotpotqa_run/wikienv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/wikienv.py -------------------------------------------------------------------------------- /hotpotqa_run/wrappers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/hotpotqa_run/wrappers.py -------------------------------------------------------------------------------- /page/BOLAA-webshop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/BOLAA-webshop.gif -------------------------------------------------------------------------------- /page/BOLAA.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/BOLAA.jpg -------------------------------------------------------------------------------- /page/Reward_llama-2-70b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/Reward_llama-2-70b.pdf -------------------------------------------------------------------------------- /page/Reward_text-davinci-003.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/Reward_text-davinci-003.pdf -------------------------------------------------------------------------------- /page/baseline_agents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/baseline_agents.png -------------------------------------------------------------------------------- /page/reward_hotpot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/reward_hotpot.jpg -------------------------------------------------------------------------------- /page/reward_webshop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/page/reward_webshop.jpg -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_hotpotqaagent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/run_hotpotqaagent.py -------------------------------------------------------------------------------- /run_webagent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/run_webagent.py -------------------------------------------------------------------------------- /test_hotpotqa.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/test_hotpotqa.sh -------------------------------------------------------------------------------- /test_webagent.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/test_webagent.sh -------------------------------------------------------------------------------- /web_run/agent_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/agent_arch.py -------------------------------------------------------------------------------- /web_run/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/config.py -------------------------------------------------------------------------------- /web_run/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/evaluate.py -------------------------------------------------------------------------------- /web_run/llms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/llms.py -------------------------------------------------------------------------------- /web_run/multi_agent_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/multi_agent_arch.py -------------------------------------------------------------------------------- /web_run/pre_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/pre_prompt.py -------------------------------------------------------------------------------- /web_run/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/utils.py -------------------------------------------------------------------------------- /web_run/web_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/web_run/web_env.py -------------------------------------------------------------------------------- /webshop/LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/LICENSE.md -------------------------------------------------------------------------------- /webshop/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/README.md -------------------------------------------------------------------------------- /webshop/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/requirements.txt -------------------------------------------------------------------------------- /webshop/run_dev.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/run_dev.sh -------------------------------------------------------------------------------- /webshop/run_envs/run_web_agent_site_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/run_envs/run_web_agent_site_env.py -------------------------------------------------------------------------------- /webshop/run_envs/run_web_agent_text_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/run_envs/run_web_agent_text_env.py -------------------------------------------------------------------------------- /webshop/run_prod.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python -m web_agent_site.app --log 3 | -------------------------------------------------------------------------------- /webshop/run_web_agent_site_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/run_web_agent_site_env.sh -------------------------------------------------------------------------------- /webshop/run_web_agent_text_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/run_web_agent_text_env.sh -------------------------------------------------------------------------------- /webshop/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/setup.sh -------------------------------------------------------------------------------- /webshop/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/test.py -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_item_page_amz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_item_page_amz -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_item_page_ebay: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_item_page_ebay -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_item_page_ws: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_item_page_ws -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_item_page_ws_desc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_item_page_ws_desc -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_item_page_ws_feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_item_page_ws_feat -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_results_amz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_results_amz -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_results_ebay: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_results_ebay -------------------------------------------------------------------------------- /webshop/tests/transfer/mocks/mock_parse_results_ws: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/mocks/mock_parse_results_ws -------------------------------------------------------------------------------- /webshop/tests/transfer/test_predict_help.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/transfer/test_predict_help.py -------------------------------------------------------------------------------- /webshop/tests/web-agent-site/engine/test_goal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/web-agent-site/engine/test_goal.py -------------------------------------------------------------------------------- /webshop/tests/web-agent-site/engine/test_normalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/web-agent-site/engine/test_normalize.py -------------------------------------------------------------------------------- /webshop/tests/web-agent-site/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/tests/web-agent-site/test_utils.py -------------------------------------------------------------------------------- /webshop/web_agent_site/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webshop/web_agent_site/agents/shop_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/agents/shop_agent.py -------------------------------------------------------------------------------- /webshop/web_agent_site/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/app.py -------------------------------------------------------------------------------- /webshop/web_agent_site/attributes/annotate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/attributes/annotate.py -------------------------------------------------------------------------------- /webshop/web_agent_site/attributes/generate_attrs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/attributes/generate_attrs.py -------------------------------------------------------------------------------- /webshop/web_agent_site/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webshop/web_agent_site/engine/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/engine/engine.py -------------------------------------------------------------------------------- /webshop/web_agent_site/engine/goal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/engine/goal.py -------------------------------------------------------------------------------- /webshop/web_agent_site/engine/normalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/engine/normalize.py -------------------------------------------------------------------------------- /webshop/web_agent_site/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/envs/__init__.py -------------------------------------------------------------------------------- /webshop/web_agent_site/envs/chromedriver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/envs/chromedriver -------------------------------------------------------------------------------- /webshop/web_agent_site/envs/web_agent_site_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/envs/web_agent_site_env.py -------------------------------------------------------------------------------- /webshop/web_agent_site/envs/web_agent_text_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/envs/web_agent_text_env.py -------------------------------------------------------------------------------- /webshop/web_agent_site/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/models/__init__.py -------------------------------------------------------------------------------- /webshop/web_agent_site/models/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/models/models.py -------------------------------------------------------------------------------- /webshop/web_agent_site/static/images/no-image-available.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/static/images/no-image-available.png -------------------------------------------------------------------------------- /webshop/web_agent_site/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/static/style.css -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/attributes_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/attributes_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/description_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/description_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/done_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/done_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/features_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/features_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/item_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/item_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/results_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/results_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/review_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/review_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/templates/search_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/templates/search_page.html -------------------------------------------------------------------------------- /webshop/web_agent_site/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforce/BOLAA/HEAD/webshop/web_agent_site/utils.py --------------------------------------------------------------------------------