This project is a solver for the WikiGame, which uses web scraping and text embeddings to find a path between two Wikipedia pages. The solver fetches links on each page and selects the most relevant one based on cosine similarity of the embeddings.
-
Clone the repository:
git clone https://github.com/mitchwolfe1/WikiGameAI.git cd WikiGameAI
-
Create a virtual environment and install dependencies:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
Run the solver with:
python main.py "start_url" "end_url"