llama-stack-mirror/llama_toolchain/agentic_system/adapters.py
2024-08-05 12:46:38 -07:00

29 lines
887 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 typing import List
from llama_toolchain.distribution.datatypes import Adapter, Api, SourceAdapter
def available_agentic_system_adapters() -> List[Adapter]:
return [
SourceAdapter(
api=Api.agentic_system,
adapter_id="meta-reference",
pip_packages=[
"codeshield",
"torch",
"transformers",
],
module="llama_toolchain.agentic_system.agentic_system",
config_class="llama_toolchain.agentic_system.config.AgenticSystemConfig",
adapter_dependencies=[
Api.inference,
Api.safety,
],
),
]