メインコンテンツまでスキップ
バージョン: 次へ

OpenAIModeration

The OpenAIModeration class is designed to handle moderation results from the OpenAI API. It contains properties for storing the moderation ID, model used, and the results of the moderation.

https://platform.openai.com/docs/api-reference/moderations/object

プロパティ

プロパティ説明
idTextThe ID associated with the moderation request.
modelTextThe moderation model used for processing.
resultsCollectionA collection of moderation results.
項目OpenAIModerationItemThe first item from the results.