From e867501073636617c99d8c1ad7f7b07315aae4dc Mon Sep 17 00:00:00 2001 From: Alina Ryan Date: Wed, 28 May 2025 13:48:43 -0400 Subject: [PATCH] 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 --- .../apis/synthetic_data_generation/registry.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 llama_stack/apis/synthetic_data_generation/registry.py diff --git a/llama_stack/apis/synthetic_data_generation/registry.py b/llama_stack/apis/synthetic_data_generation/registry.py new file mode 100644 index 000000000..ba097f610 --- /dev/null +++ b/llama_stack/apis/synthetic_data_generation/registry.py @@ -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})")