Skip to content

elijah-potter/ofc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama Function Caller (ofc)

The Ollama function caller, otherwise known as ofc, is a command-line tool for prompting Ollama models locally on your system. There are other programs out there that do similar things, but they either don't support streaming or don't give me access to important settings, like context length or temperature.

In order to use ofc, you need to have Ollama on your system. You may install it from the Ollama website.

Installation

ofc is installable from either crates.io or this repository.

cargo install ofc --locked

# Or...
cargo install --git https://github.com/elijah-potter/ofc --locked

Usage

It's pretty simple. Just call ofc with the user prompt of your desire.

ofc "What is the meaning of life?"

You may can change the model from the default (phi4) and control context size and temperature.

ofc --context 8192 --temperature 0.3 --model tinyllama "What is the best pizza?"

Previous Art

ofc was inspired by ooo.

About

A command-line Ollama client for scripting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages