Snowflake · Schema

SendMessageRequest

The request object for sendMessage requests

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
semantic_model_file string The path to a file stored in a Snowflake Stage holding the semantic model yaml. Must be a fully qualified stage url
semantic_model string A string containing the entire semantic model yaml
semantic_view string The name of the Snowflake native semantic model object
semantic_models array A list of semantic model objects. If set, other semantic model properties are ignored
stream boolean Whether to stream the response or not
operation string Whether to response with SQL or natural language. One of 'sql_generation' or 'answer_generation'
warehouse string Warehouse name to use for result set handling. Only used when 'operation' is 'answer_generation'
messages array
source string an optional field to specify the source of the request. e.g "eval", "prod"
experimental string JSON serialized string of experimental API fields (undocumented).
View JSON Schema on GitHub