Structured Output in Confidential AI
Confidential AI supports structured output, enabling you to receive responses in specific formats such as JSON structures. This is particularly useful for applications that require data to be processed or integrated into other systems.Example of Structured Output
Replace<API_KEY>
with your actual API key in the examples below.
Sample output of structured output
Sample output of structured output
Supported Models for Structured Output
Confidential AI supports structured output for the following models:phala/deepseek-chat-v3-0324
phala/gemma-3-27b-it
phala/gpt-oss-20b
phala/gpt-oss-120b
phala/qwen2.5-vl-72b-instruct