[控场AI]
产品OpenAI Structured Outputs

Structured Outputs

OpenAI于2024年推出的结构化输出功能,通过在每个生成步骤中构建有限状态机(FSM)来屏蔽不符合Schema路径的token,从token采样层面强制输出符合Schema的内容