OllamaClient.getModels

Lists models in an OpenAI-compatible format.

class OllamaClient
string
getModels
()

Return Value

Type: string

A string containing the JSON-formatted list of model data, pretty-printed.

Meta