llama-stack-mirror/llama_stack/providers/adapters/safety/bedrock/config.py
Ashwin Bharambe 7e40eead4e safety API cleanup part 1
Sample adapter implementation for Bedrock implementation of Guardrails
2024-09-21 12:46:01 -07:00

12 lines
349 B
Python

# 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