Words is a toy project to play with Ollama and Neo4J from a Jupyter notebook or just from a simple python file.
The idea is to provide a text and the model will extract the words and descriptions from the text. In a later step, it will build a Neo4J graph to visualize it.
I wanted to be able to use all this tools without installing them in my machine, so I've spent time to make it work in Docker.
Before setting up all services you should download a model from Ollama:
- Run Ollama server only
docker compose up llm -d
- Enter to the container
docker compose exec llm sh
- Download the model
ollama pull orca-mini
- Setup the rest of services
docker compose up
- Got to
http://127.0.0.1:8888
to play with the notebook
- Improve the prompt to build better graphs
- Try with other models