Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- ps :: IO (Maybe RunningModels)
- newtype RunningModels = RunningModels [RunningModel]
- data RunningModel = RunningModel {
- name_ :: Text
- modelName :: Text
- size_ :: Int64
- modelDigest :: Text
- modelDetails :: ModelDetails
- expiresAt :: UTCTime
- sizeVRam :: Int64
Documentation
newtype RunningModels Source #
Instances
FromJSON RunningModels Source # | |
Defined in Data.Ollama.Ps parseJSON :: Value -> Parser RunningModels # parseJSONList :: Value -> Parser [RunningModels] # | |
Show RunningModels Source # | |
Defined in Data.Ollama.Ps showsPrec :: Int -> RunningModels -> ShowS # show :: RunningModels -> String # showList :: [RunningModels] -> ShowS # | |
Eq RunningModels Source # | |
Defined in Data.Ollama.Ps (==) :: RunningModels -> RunningModels -> Bool # (/=) :: RunningModels -> RunningModels -> Bool # |
data RunningModel Source #
RunningModel | |
|
Instances
FromJSON RunningModel Source # | |
Defined in Data.Ollama.Ps parseJSON :: Value -> Parser RunningModel # parseJSONList :: Value -> Parser [RunningModel] # | |
Show RunningModel Source # | |
Defined in Data.Ollama.Ps showsPrec :: Int -> RunningModel -> ShowS # show :: RunningModel -> String # showList :: [RunningModel] -> ShowS # | |
Eq RunningModel Source # | |
Defined in Data.Ollama.Ps (==) :: RunningModel -> RunningModel -> Bool # (/=) :: RunningModel -> RunningModel -> Bool # |