SkillAgentSearch skills...

Ollamex

An Elixir wrapper of the ollama REST API

Install / Use

/learn @waseigo/Ollamex
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="./assets/ollamex_logo.png" width="100" height="100">

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.

Donate

Has this library been useful for your project?

ko-fi

Related Skills

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated1y ago
Forks0

Languages

Elixir

Security Score

75/100

Audited on Feb 14, 2025

No findings