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

Data.Ollama.Common.Types

Synopsis

Documentation

newtype OllamaClient Source #

Constructors

OllamaClient 

Fields

Instances

Instances details
Show OllamaClient Source # 
Instance details

Defined in Data.Ollama.Common.Types

Eq OllamaClient Source # 
Instance details

Defined in Data.Ollama.Common.Types

data Format Source #

E.g SchemaFormat { "type": "object", "properties": { "age": { "type": "integer" }, "available": { "type": "boolean" } }, "required": [ "age", "available" ] } |

Format specification for the chat output | Since 0.1.3.0

Instances

Instances details
ToJSON Format Source # 
Instance details

Defined in Data.Ollama.Common.Types

Show Format Source # 
Instance details

Defined in Data.Ollama.Common.Types

Eq Format Source # 
Instance details

Defined in Data.Ollama.Common.Types

Methods

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

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