Moderation
LiteLLM supports the moderation endpoint for OpenAI
Usage​
import os
from litellm import moderation
os.environ['OPENAI_API_KEY'] = ""
response = moderation(input="i'm ishaan cto of litellm")
LiteLLM supports the moderation endpoint for OpenAI
import os
from litellm import moderation
os.environ['OPENAI_API_KEY'] = ""
response = moderation(input="i'm ishaan cto of litellm")