| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Data.Ollama.Show
Contents
Synopsis
- showModel :: Text -> IO (Maybe ShowModelResponse)
- showModelOps :: Text -> Maybe Bool -> IO (Maybe ShowModelResponse)
- data ShowModelResponse = ShowModelResponse {}
Show Model Info API
Arguments
| :: Text | model name |
| -> IO (Maybe ShowModelResponse) |
Show given model's information.
Higher level API for show. @since 1.0.0.0
Show given model's information with options.
Since: 1.0.0.0
data ShowModelResponse Source #
Constructors
| ShowModelResponse | |
Instances
| FromJSON ShowModelResponse Source # | The instance for show model response |
Defined in Data.Ollama.Show Methods parseJSON :: Value -> Parser ShowModelResponse # parseJSONList :: Value -> Parser [ShowModelResponse] # | |
| Show ShowModelResponse Source # | |
Defined in Data.Ollama.Show Methods showsPrec :: Int -> ShowModelResponse -> ShowS # show :: ShowModelResponse -> String # showList :: [ShowModelResponse] -> ShowS # | |
| Eq ShowModelResponse Source # | |
Defined in Data.Ollama.Show Methods (==) :: ShowModelResponse -> ShowModelResponse -> Bool # (/=) :: ShowModelResponse -> ShowModelResponse -> Bool # | |