mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 20:27:35 +00:00
safety API cleanup part 1
Sample adapter implementation for Bedrock implementation of Guardrails
This commit is contained in:
parent
90a59fd89b
commit
93e4ef3829
7 changed files with 130 additions and 78 deletions
12
llama_stack/providers/adapters/safety/bedrock/config.py
Normal file
12
llama_stack/providers/adapters/safety/bedrock/config.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class BedrockSafetyRequestProviderData(BaseModel):
|
||||
aws_api_key: str
|
||||
# other AWS specific keys you may need
|
Loading…
Add table
Add a link
Reference in a new issue