
# Solving Contexto.me with Vector Search

[Contexto.me](https://contexto.me/) is a linguistic game that takes the popular word game [Wordle](https://www.nytimes.com/games/wordle/index.html) to the next level.

This repository contains a solution to the game using vector search.


## How to use

1. Clone the repository

2. Install the requirements

```bash
pip install poetry

poetry install
```

3. Prepare embeddings and vocabulary

```bash
python -m contexto.prepare_embeddings
```

4. Start guessing

The first word is on you, others are generated by the algorithm.

```bash
python -m contexto.guess
```

Average number of guesses is 30.