AzureAIProjectsModelFactory.DataGenerationJobSource(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The base source model for data generation jobs. Please note this is the abstract base class. The derived classes available for instantiation are: PromptDataGenerationJobSource, AgentDataGenerationJobSource, TracesDataGenerationJobSource, and FileDataGenerationJobSource.
public static Azure.AI.Projects.DataGenerationJobSource DataGenerationJobSource(string type = default, string description = default);
static member DataGenerationJobSource : string * string -> Azure.AI.Projects.DataGenerationJobSource
Public Shared Function DataGenerationJobSource (Optional type As String = Nothing, Optional description As String = Nothing) As DataGenerationJobSource
Parameters
- type
- String
The type of source.
- description
- String
Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities').
Returns
A new DataGenerationJobSource instance for mocking.