ollama-haskell-0.1.3.0: Haskell bindings for ollama.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Ollama.Create

Synopsis

Create Model API

createModel Source #

Arguments

:: Text

Model Name

-> Maybe Text

Model File

-> Maybe FilePath

Path

-> IO () 

Create a new model | Please note, if you specify both ModelFile and Path, ModelFile will be used.

createModelOps Source #

Arguments

:: Text

Model Name

-> Maybe Text

Model File

-> Maybe Bool

Stream

-> Maybe FilePath

Path

-> IO () 

Create a new model either from ModelFile or Path Please note, if you specify both ModelFile and Path, ModelFile will be used.