-
Add gem to app
bundle add appchat
-
Run installer
rails g appchat
-
Start server
bin/dev
-
Now app is running view the chat in browser at
localhost:3000/chats
We use Ollama llama3.1 model for this app which requires a ollama model running on your machine so first install ollama
- Install Ollama on your machine ollama.com
- Start llama3.1 model
ollama run llama3.1
If you don't already have Rails installed you can get it by following the installation guide for your machine here Rails Installation Guide