Mapping the network of French restaurants and chefs from the lefooding.com guide.
Read all about the project in the blog post.
The data comes from lefooding.com, gpt40-mini is used with outlines for structured output extraction. The graph is built with Gephi-lite and shared via Retina.
# Collect data from lefooding.com
uv run get_data.py
# Extract entities from reviews
uv run infer_entities.py
# Generate the graph
uv run make_graph.py
- Outlines
- NetworkX
- SQLite3
- BeautifulSoup4
- aiohttp
- An OpenAI API key (for GPT-4o Mini) or a local model
MIT