public interface ModerationModel
Modifier and Type | Method and Description |
---|---|
Result<Moderation> |
moderate(ChatMessage message) |
Result<Moderation> |
moderate(List<ChatMessage> messages) |
Result<Moderation> |
moderate(Object structuredPrompt) |
Result<Moderation> |
moderate(Prompt prompt) |
Result<Moderation> |
moderate(String text) |
Result<Moderation> |
moderate(TextSegment textSegment) |
Result<Moderation> moderate(String text)
Result<Moderation> moderate(Prompt prompt)
Result<Moderation> moderate(Object structuredPrompt)
Result<Moderation> moderate(ChatMessage message)
Result<Moderation> moderate(List<ChatMessage> messages)
Result<Moderation> moderate(TextSegment textSegment)
Copyright © 2023. All rights reserved.