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:
Alina Ryan 2025-05-28 13:48:43 -04:00
parent 2603f10f95
commit e867501073

View 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})")