Elffuss BraidHub

kikocis/llama-stack public

main · 470 BRawPermalink
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the terms described in the LICENSE file in
5# the root directory of this source tree.
6
7
8from typing import Any
9
10from .config import BedrockSafetyConfig
11
12
13async def get_adapter_impl(config: BedrockSafetyConfig, _deps) -> Any:
14 from .bedrock import BedrockSafetyAdapter
15
16 impl = BedrockSafetyAdapter(config)
17 await impl.initialize()
18 return impl