Appearance
Install
Prerequisites
- Chrome or Chromium must be installed on the host machine. On Linux:
sudo apt install chromium-browser. - Conda (Miniconda or Anaconda) for environment isolation.
- An OpenAI API key with access to GPT-4V (vision mode) or GPT-4 Turbo (text-only mode).
Clone the repository
bash
git clone https://github.com/MinorJerry/WebVoyager.git
cd WebVoyagerCreate the Python environment
bash
conda create -n webvoyager python=3.10
conda activate webvoyager
pip install -r requirements.txtSet your API key
The key is passed as a CLI flag at runtime (--api_key YOUR_OPENAI_API_KEY). No .env file is required, but you can export it as a shell variable and reference it in run.sh:
bash
export OPENAI_API_KEY="sk-..."Then in run.sh, replace YOUR_OPENAI_API_KEY with $OPENAI_API_KEY.
No downloadable template
There is no separate starter template or boilerplate. The repository itself is the implementation. Sample task data is included at data/WebVoyager_data.jsonl (643 tasks) and data/tasks_test.jsonl (a smaller test subset).