Snowflake · JSON Structure

Cortex Inference Complete Request Structure

Type: object Properties: 13
Data LakesData SharingData WarehousingDatabaseSQL

CompleteRequest is a JSON Structure definition published by Snowflake, describing 13 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

model messages temperature top_p max_tokens max_output_tokens response_format tools provisioned_throughput_id sf-ml-xp-inflight-prompt-action sf-ml-xp-inflight-prompt-client-id sf-ml-xp-inflight-prompt-public-key stream

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CompleteRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    },
    "messages": {
      "type": "array"
    },
    "temperature": {
      "type": "number"
    },
    "top_p": {
      "type": "number"
    },
    "max_tokens": {
      "type": "integer"
    },
    "max_output_tokens": {
      "type": "integer"
    },
    "response_format": {
      "type": "object"
    },
    "tools": {
      "type": "array"
    },
    "provisioned_throughput_id": {
      "type": "string"
    },
    "sf-ml-xp-inflight-prompt-action": {
      "type": "string"
    },
    "sf-ml-xp-inflight-prompt-client-id": {
      "type": "string"
    },
    "sf-ml-xp-inflight-prompt-public-key": {
      "type": "string"
    },
    "stream": {
      "type": "boolean"
    }
  }
}