This project has samples on how to use the gem ollama-ai to communicate with Ollama.
The steps to use the project are the following:
-
Download Ollama
-
Pull llama2 model using ollama
-
Pull llava model using ollama
-
clone the repository
-
bundle install
-
rails server
-
Check available examples at routes.rb