classifications schema 中定义允许的标签。
设置你的 API 密钥
在 Fastino Settings 中创建密钥,然后将其提供给你的进程:发送分类请求
multi_label: false 时,Decide 返回得分最高的标签。
读取响应
成功的响应使用 Chat Completions 信封。分类结果是choices[0].message.content 中的 JSON 字符串:
后续步骤
分类
添加多标签行为、多个任务和分类阈值,并处理解析后的结果结构。
API 参考
查看完整的
POST /v1/chat/completions 契约。
