forked from phoenix-oss/llama-stack-mirror
fix safety using inference (#99)
This commit is contained in:
parent
5c4f73d52f
commit
82f420c4f0
2 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ from transformers import (
|
|||
)
|
||||
|
||||
from .base import CANNED_RESPONSE_TEXT, OnViolationAction, ShieldBase, ShieldResponse
|
||||
from llama_models.llama3.api.datatypes import Message, Role
|
||||
|
||||
|
||||
SAFE_RESPONSE = "safe"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue