AiSchemaDisplay

Schema Display

JSON schema field tree.

ChatCompletionRequest

modelstringrequiredThe model identifier (e.g. "gpt-4o")
messagesMessage[]requiredArray of conversation messages
temperaturenumberSampling temperature between 0 and 2
toolConfigobjectConfiguration for tool calling
toolsTool[]*
toolChoice"auto" | "required" | "none"
streambooleanEnable streaming responses

Usage

<AiSchemaDisplay :fields="schema" title="Request body" />

Props

Prop Type Default Description
fields*AiSchemaField[]
titlestring

Slots

  • field