ProjectsAgentsModelFactory.DatasetInfo(String, String, Int32, Boolean) 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.
Metadata about the dataset used for optimization, surfaced in the response.
public static Azure.AI.Projects.Agents.DatasetInfo DatasetInfo(string name = default, string version = default, int taskCount = 0, bool isInline = false);
static member DatasetInfo : string * string * int * bool -> Azure.AI.Projects.Agents.DatasetInfo
Public Shared Function DatasetInfo (Optional name As String = Nothing, Optional version As String = Nothing, Optional taskCount As Integer = 0, Optional isInline As Boolean = false) As DatasetInfo
Parameters
- name
- String
Dataset name when using a registered dataset reference. Null for inline datasets.
- version
- String
Dataset version when using a registered dataset reference. Null for inline datasets.
- taskCount
- Int32
Number of tasks/rows in the dataset.
- isInline
- Boolean
True when the dataset was provided inline in the request body.
Returns
A new DatasetInfo instance for mocking.