Skip to content

waseigo/ollamex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollamex

An Elixir wrapper of ollama's REST API with a few niceties built-in, such as dealing with endless LLM repetitions through a timeout.

Ollamex is written based on the ollama REST API documentation for the following endpoints:

The primary motivation for this simple Elixir wrapper was to use a timeout and avoid situations in which the LLM gets stuck generating a stream of \n, \t and whitespace.

Installation

The package is available in Hex and can be installed by adding ollamex to your list of dependencies in mix.exs:

def deps do
  [
    {:ollamex, "~> 0.2.0"}
  ]
end

Documentation

The docs can be found at https://hexdocs.pm/ollamex.

Homepage

The homepage of Ollamex can be found at overbring.com.

About

An Elixir wrapper of the ollama REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages