My implementation of semantic search from the Machine learning in Elixir book.
To start your Phoenix server:
- Run docker-compose up to start postgres
- Run
mix setup
to install and setup dependencies. This will also seed the database. - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
- (optional) if you want to try the rag (/rag) endpoint, you have to start serving ollama with the
ollama serve
command.
Now you can visit search or rag from your browser.
Ready to run in production? Please check our deployment guides.