mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
safety api
This commit is contained in:
parent
959c499cac
commit
4b34f741d0
3 changed files with 9 additions and 11 deletions
|
@ -86,5 +86,6 @@ class Safety(Protocol):
|
|||
@webmethod(route="/safety/run_shields")
|
||||
async def run_shields(
|
||||
self,
|
||||
request: RunShieldRequest,
|
||||
messages: List[Message],
|
||||
shields: List[ShieldDefinition],
|
||||
) -> RunShieldResponse: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue