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

Data.Ollama.List

Synopsis

List Models API

list :: IO (Maybe Models) Source #

List all models from local

newtype Models Source #

Constructors

Models [ModelInfo] 

Instances

Instances details
FromJSON Models Source # 
Instance details

Defined in Data.Ollama.List

Show Models Source # 
Instance details

Defined in Data.Ollama.List

Eq Models Source # 
Instance details

Defined in Data.Ollama.List

Methods

(==) :: Models -> Models -> Bool #

(/=) :: Models -> Models -> Bool #

data ModelInfo Source #

Constructors

ModelInfo 

Instances

Instances details
FromJSON ModelInfo Source # 
Instance details

Defined in Data.Ollama.List

Show ModelInfo Source # 
Instance details

Defined in Data.Ollama.List

Eq ModelInfo Source # 
Instance details

Defined in Data.Ollama.List