一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 13|回复: 0

OpenAI 发布多模态道德审查模型。

[复制链接]

2万

主题

2万

帖子

6万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
60838
发表于 昨天 11:53 | 显示全部楼层 |阅读模式
OpenAI 推出了新的多模态审核模型 `omni-moderation-latest`,支持文字和图片输入。该模型提升了非英语内容的审核准确率,新增了两个违规类别:`illicit` 和 `illicit/violent`,并继续免费提供。
你可以阅读 [博客文章](https://openai.com/index/upgrading-the-moderation-api-with-our-new-multimodal-moderation-model/) 或查看 [更新的文档](https://platform.openai.com/docs/guides/moderation/)了解更多信息。
旧版审核模型将被弃用,具体时间未定。我们会在旧模型用户使用期限结束前通知您。
示例代码:
```bash
curl https://api.openai.com/v1/moderations \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "omni-moderation-latest",
    "input": [
      { "type": "text", "text": "...text to classify goes here..." },
      {
        "type": "image_url",
        "image_url": {
          "url": "https://example.com/image.png"
        }
      }
    ]
  }'
```
赶快试试吧!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-9-28 23:34 , Processed in 0.097682 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表