mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-28 23:04:21 +00:00
Merge cc03093705
into 21bae296f2
This commit is contained in:
commit
fbf4a0141f
8 changed files with 442 additions and 0 deletions
28
llama_stack/providers/registry/synthetic_data_generation.py
Normal file
28
llama_stack/providers/registry/synthetic_data_generation.py
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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.
|
||||
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from llama_stack.providers.datatypes import Api, InlineProviderSpec, ProviderSpec
|
||||
|
||||
|
||||
def available_providers() -> list[ProviderSpec]:
|
||||
return [
|
||||
InlineProviderSpec(
|
||||
api=Api.synthetic_data_generation,
|
||||
provider_type="inline::synthetic_data_kit",
|
||||
pip_packages=[
|
||||
"synthetic-data-kit",
|
||||
"vllm",
|
||||
"pydantic",
|
||||
],
|
||||
module="llama_stack.providers.inline.synthetic_data_generation.synthetic_data_kit_inline",
|
||||
config_class="llama_stack.providers.inline.synthetic_data_generation.config.SyntheticDataKitConfig",
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue