mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
feat: add synthetic_data_generation API scaffolding (no provider)
This establishes the API contract and prepares for provider integration in a future commit. Signed-off-by: Alina Ryan <aliryan@redhat.com>
This commit is contained in:
parent
2603f10f95
commit
e867501073
1 changed files with 13 additions and 0 deletions
13
llama_stack/apis/synthetic_data_generation/registry.py
Normal file
13
llama_stack/apis/synthetic_data_generation/registry.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# 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 llama_stack.apis.synthetic_data_generation import SyntheticDataGeneration
|
||||||
|
|
||||||
|
SYNTHETIC_DATA_GENERATION_PROVIDERS: dict[str, SyntheticDataGeneration] = {}
|
||||||
|
|
||||||
|
|
||||||
|
def get_provider(name: str = "meta_synthetic_data_kit") -> SyntheticDataGeneration:
|
||||||
|
raise NotImplementedError(f"No provider registered yet for synthetic_data_generation (requested: {name})")
|
Loading…
Add table
Add a link
Reference in a new issue