diff --git a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py index 11b2c81e995..eaf00ea793e 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py +++ b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py @@ -4,7 +4,7 @@ import asyncio import json import re from abc import ABC, abstractmethod -from dataclasses import dataclass, field +from dataclasses import dataclass from importlib.util import find_spec as _find_spec from pathlib import Path from typing import Any, cast diff --git a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py index 981d1907db6..e0d7fdc5c5c 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py +++ b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py @@ -1,6 +1,6 @@ from __future__ import annotations -from dataclasses import dataclass, field +from dataclasses import dataclass from typing import Literal from litellm.types.proxy.guardrails.guardrail_hooks.bias_hallucination_estimator import (