Skip to main content
Sets a Provider as the default for AI functions of its type. You can set the chat and embedding defaults independently. provider and model must be constant VARCHAR expressions. If provider is omitted, an empty string, or SQL NULL, the cluster default Provider for the function type is used: chat for completion and text helpers, embedding for embeddings. If model is omitted, an empty string, or SQL NULL, the selected Provider’s default model is used; an explicit model takes precedence. Values containing only whitespace are invalid. An explicit Provider call does not require a cluster default.

Syntax

Parameters

Examples

See also