- Erlang & Elixir
- Node JS
- Postgres (with pgvector)
You can install all of it (except pgvector) with asdf.
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
To test the chatbot locally you either need to start with a Groq API key (see 1password):
GROQ_API_KEY=abcd JINA_API_KEY=abcd iex -S mix phx.server
or install Ollama:
brew install ollama
ollama pull llama3.2:latest
ollama pull unclemusclez/jina-embeddings-v2-base-code
and then start as usual:
mix phx.server
or
iex -S mix phx.server
Be aware that the seeded libraries are not that useful to chat with, since it is just dummy data.
Now you can visit localhost:4000
from your browser.