inheritance
Cell<typeof ModelJson>
name
type ModelName
provider_name
type ProviderName
tags
type Array<string>
architecture
type string | undefined
parameter_count
type number | undefined
context_window
type number | undefined
output_token_limit
type number | undefined
embedding_length
type number | undefined
filesize
Size in gigabytes.
type number | undefined
cost_input
type number | undefined
cost_output
type number | undefined
training_cutoff
type string | undefined
ollama_list_response_item
type OllamaListResponseItem | undefined
ollama_show_response
type OllamaShowResponse | undefined
ollama_show_response_loaded
type boolean
ollama_show_response_loading
type boolean
ollama_show_response_error
type string | undefined
downloaded
For models that run locally, this is a boolean indicating if the model is downloaded.
Is undefined for non-local models.
type boolean | undefined
provider
Lookup the provider for this model.
type Provider | undefined
context_window_formatted
type string | null
ollama_modified_at
Get the modified date from Ollama data if available.
type Date | undefined
needs_ollama_details
Check if this model needs its details loaded.
type boolean
loaded
Check if this model is currently loaded/running. For Ollama models, this checks if the model is in the running models set.
type boolean
constructor
type new (options: ModelOptions): Model
options
navigate_to_download
Download this model. Currently only works for Ollama models.
type (): Promise<void>
Promise<void>navigate_to_provider_model_view
Navigate to the model view. Currently only works for Ollama models.
type (): Promise<void>
Promise<void>