mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-08 13:00:52 +00:00
Further generalize Xi's changes
- introduce a slightly more general notion of an AutoRouted provider - the AutoRouted provider is associated with a RoutingTable provider - e.g. inference -> models - Introduced safety -> shields and memory -> memory_banks correspondences
This commit is contained in:
parent
b8914bb56f
commit
e1966b90d9
19 changed files with 559 additions and 388 deletions
|
@ -1,22 +0,0 @@
|
|||
# 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_stack.distribution.datatypes import * # noqa: F403
|
||||
|
||||
|
||||
def available_providers() -> List[ProviderSpec]:
|
||||
return [
|
||||
BuiltinProviderSpec(
|
||||
api=Api.models,
|
||||
provider_id="builtin",
|
||||
pip_packages=[],
|
||||
module="llama_stack.providers.impls.builtin.models",
|
||||
config_class="llama_stack.providers.impls.builtin.models.BuiltinImplConfig",
|
||||
api_dependencies=[],
|
||||
)
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue