ollama-haskell-0.1.0.0: Ollama Haskell library
Safe HaskellSafe-Inferred
LanguageGHC2021

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.