ASIMOV Ollama module.
- To be determined!
Installation with ASIMOV CLI
asimov module install ollama -vcargo install asimov-ollama-moduleThis module uses an Ollama endpoint to generate responses. On macOS a simple approach to run Ollama locally is:
$ brew install ollama
$ brew services start ollama # Start the service formula immediately and register it to launch at login (or boot).Then you should be able to use asimov-ollama-prompter.
Alternatively downloading and running the application should also work.
You can download a model either through the CLI:
$ ollama pull gemma3:1bOr in the application:
$ echo "In two sentences, why is the sky blue?" | asimov-ollama-prompter -m gemma3:1b
The sky appears blue because of a phenomenon called Rayleigh scattering, where sunlight is split into different colors of light. Blue light is scattered more effectively by the tiny particles in the atmosphere than other colors, making it visible to our eyes.Provide a model name either by module configuration
asimov module config ollamaOr through environment variables
export ASIMOV_OLLAMA_MODEL="..."| Name | Environment Variable | Default |
|---|---|---|
endpoint |
ASIMOV_OLLAMA_API_ENDPOINT |
http://localhost:11434 |
echo "Why is the sky blue?" | asimov-ollama-promptergit clone https://github.com/asimov-modules/asimov-ollama-module.git