Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 688 Bytes

Doc.md

File metadata and controls

28 lines (21 loc) · 688 Bytes

Haskell bindings for Ollama.

This is going to be a library. The interface will look, something like this:

This library provides a API design around this Doc. The project is inspired by Ollama's python library.

Ollama.hs Data Ollama Internal.hs

###A rough set of APIs:

Need to create a client called Ollama or something. Which will contain stuff like host,timeout, headers.

  • chat :: Model -> Messages ([Text]) -- Main function
  • generate
  • list
  • show :: Model
  • create
  • copy :: Model -> Model ->
  • Delete :: Model
  • Pull :: Model
  • Embeddings :: Model -> Prompt
  • Ps