forked from phoenix-oss/llama-stack-mirror
Some lightweight cleanup and renaming for bedrock safety adapter
This commit is contained in:
parent
a2465f3f9c
commit
f45705cd10
5 changed files with 76 additions and 78 deletions
|
@ -7,12 +7,12 @@
|
|||
|
||||
from typing import Any
|
||||
|
||||
from .config import BedrockShieldConfig
|
||||
from .config import BedrockSafetyConfig
|
||||
|
||||
|
||||
async def get_adapter_impl(config: BedrockShieldConfig, _deps) -> Any:
|
||||
from .bedrock import BedrockShieldAdapter
|
||||
async def get_adapter_impl(config: BedrockSafetyConfig, _deps) -> Any:
|
||||
from .bedrock import BedrockSafetyAdapter
|
||||
|
||||
impl = BedrockShieldAdapter(config)
|
||||
impl = BedrockSafetyAdapter(config)
|
||||
await impl.initialize()
|
||||
return impl
|
||||
return impl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue