We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f60af commit fe97b2dCopy full SHA for fe97b2d
src/guardrails/checks/text/moderation.py
@@ -36,12 +36,6 @@
36
from openai import AsyncOpenAI, NotFoundError
37
from pydantic import BaseModel, ConfigDict, Field
38
39
-try:
40
- from openai import AsyncAzureOpenAI, AzureOpenAI # type: ignore
41
-except Exception: # pragma: no cover - optional dependency
42
- AsyncAzureOpenAI = object # type: ignore
43
- AzureOpenAI = object # type: ignore
44
-
45
from guardrails.registry import default_spec_registry
46
from guardrails.spec import GuardrailSpecMetadata
47
from guardrails.types import GuardrailResult
0 commit comments