Skip to content

Commit b5bcb8d

Browse files
committed
Update HuggingFaceEvaluation import.
1 parent b9b45cc commit b5bcb8d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ads/llm/guardrails/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33

44
# Copyright (c) 2023 Oracle and/or its affiliates.
55
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
6-
7-
from .huggingface import HuggingFaceEvaluation

tests/unitary/with_extras/langchain/test_guardrails.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from langchain.llms.base import LLM
1414
from langchain.prompts import PromptTemplate
1515
from langchain.schema.runnable import RunnableMap, RunnablePassthrough
16-
from ads.llm.guardrails import HuggingFaceEvaluation
16+
from ads.llm.guardrails.huggingface import HuggingFaceEvaluation
1717
from ads.llm.guardrails.base import BlockedByGuardrail, GuardrailIO
1818
from ads.llm.chain import GuardrailSequence
1919
from ads.llm.serialize import load, dump

0 commit comments

Comments
 (0)