nemo_microservices.resources.data_designer.data_designer
#
Module Contents#
Classes#
API#
- class nemo_microservices.resources.data_designer.data_designer.AsyncDataDesignerResource( )#
Bases:
nemo_microservices._resource.AsyncAPIResource
Initialization
- async preview(
- *,
- config: nemo_microservices.types.data_designer.data_designer_config_param.DataDesignerConfigParam,
- num_records: int | nemo_microservices._types.Omit = omit,
- extra_headers: nemo_microservices._types.Headers | None = None,
- extra_query: nemo_microservices._types.Query | None = None,
- extra_body: nemo_microservices._types.Body | None = None,
- timeout: float | httpx.Timeout | None | nemo_microservices._types.NotGiven = not_given,
Generate preview Data Designer
Args: config: Configuration for NeMo Data Designer.
This class defines the main configuration structure for NeMo Data Designer, which orchestrates the generation of synthetic data. Attributes: columns: Required list of column configurations defining how each column should be generated. Must contain at least one column. model_configs: Optional list of model configurations for LLM-based generation. Each model config defines the model, provider, and inference parameters. seed_config: Optional seed dataset settings to use for generation. constraints: Optional list of column constraints. profilers: Optional list of column profilers for analyzing generated data characteristics.
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
extra_body: Add additional JSON properties to the request
timeout: Override the client-level default timeout for this request, in seconds
- property with_raw_response: nemo_microservices.resources.data_designer.data_designer.AsyncDataDesignerResourceWithRawResponse#
This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#accessing-raw-response-data-e-g-headers
- property with_streaming_response: nemo_microservices.resources.data_designer.data_designer.AsyncDataDesignerResourceWithStreamingResponse#
An alternative to
.with_raw_response
that doesn’t eagerly read the response body.For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#with_streaming_response
- class nemo_microservices.resources.data_designer.data_designer.AsyncDataDesignerResourceWithRawResponse( )#
Initialization
- class nemo_microservices.resources.data_designer.data_designer.AsyncDataDesignerResourceWithStreamingResponse( )#
Initialization
- class nemo_microservices.resources.data_designer.data_designer.DataDesignerResource( )#
Bases:
nemo_microservices._resource.SyncAPIResource
Initialization
- preview(
- *,
- config: nemo_microservices.types.data_designer.data_designer_config_param.DataDesignerConfigParam,
- num_records: int | nemo_microservices._types.Omit = omit,
- extra_headers: nemo_microservices._types.Headers | None = None,
- extra_query: nemo_microservices._types.Query | None = None,
- extra_body: nemo_microservices._types.Body | None = None,
- timeout: float | httpx.Timeout | None | nemo_microservices._types.NotGiven = not_given,
Generate preview Data Designer
Args: config: Configuration for NeMo Data Designer.
This class defines the main configuration structure for NeMo Data Designer, which orchestrates the generation of synthetic data. Attributes: columns: Required list of column configurations defining how each column should be generated. Must contain at least one column. model_configs: Optional list of model configurations for LLM-based generation. Each model config defines the model, provider, and inference parameters. seed_config: Optional seed dataset settings to use for generation. constraints: Optional list of column constraints. profilers: Optional list of column profilers for analyzing generated data characteristics.
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
extra_body: Add additional JSON properties to the request
timeout: Override the client-level default timeout for this request, in seconds
- property with_raw_response: nemo_microservices.resources.data_designer.data_designer.DataDesignerResourceWithRawResponse#
This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#accessing-raw-response-data-e-g-headers
- property with_streaming_response: nemo_microservices.resources.data_designer.data_designer.DataDesignerResourceWithStreamingResponse#
An alternative to
.with_raw_response
that doesn’t eagerly read the response body.For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#with_streaming_response
- class nemo_microservices.resources.data_designer.data_designer.DataDesignerResourceWithRawResponse( )#
Initialization
- class nemo_microservices.resources.data_designer.data_designer.DataDesignerResourceWithStreamingResponse( )#
Initialization