Data.Ollama.List
Contents
list :: IO (Maybe Models) Source #
List all models from local
newtype Models Source #
Constructors
Defined in Data.Ollama.List
Methods
parseJSON :: Value -> Parser Models #
parseJSONList :: Value -> Parser [Models] #
omittedField :: Maybe Models #
showsPrec :: Int -> Models -> ShowS #
show :: Models -> String #
showList :: [Models] -> ShowS #
(==) :: Models -> Models -> Bool #
(/=) :: Models -> Models -> Bool #
data ModelInfo Source #
Fields
parseJSON :: Value -> Parser ModelInfo #
parseJSONList :: Value -> Parser [ModelInfo] #
omittedField :: Maybe ModelInfo #
showsPrec :: Int -> ModelInfo -> ShowS #
show :: ModelInfo -> String #
showList :: [ModelInfo] -> ShowS #
(==) :: ModelInfo -> ModelInfo -> Bool #
(/=) :: ModelInfo -> ModelInfo -> Bool #