-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Sometimes the AI outputs text that, when fed back in to generate other parts of the game, triggers moderation errors from OpenAI.
Moderation object and request client need added to the OpenAI lib.
Moderation should be called inside the Chat Completion Factory after generating text on the AI's output, throwing an error if the output fails moderation, forcing the factory to reattempt the generation up to the max attempts.
Metadata
Metadata
Assignees
Labels
No labels