View source: R/model_defaults.R
| get_model | R Documentation |
Returns the current package-wide default language model. This is used by
high-level helpers when model = NULL. If no explicit default has been set,
get_model() falls back to getOption("aisdk.default_model"), then to
default_model in aisdk.yaml, and then to "openai:gpt-4o".
get_model(default = "openai:gpt-4o")
default |
Fallback model identifier when no explicit default has been set. |
A model identifier string or a LanguageModelV1 object.
get_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.