saif-ellafi / play-by-the-writing

Play by the Writing is a bundle of scripts for Espanso, written in python to expand SOLO RPG rulesets as you write
Apache License 2.0
24 stars 6 forks source link

Add support for Ollama backend #15

Open evangineer opened 1 month ago

evangineer commented 1 month ago

For those of us running our LLMs locally, Ollama has been a boon and it provides an OpenAI compatible chat completion API, so it's not too difficult to add support if you are already supporting OpenAI.

I might implement this myself if I can find the spare time.