diff --git a/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs b/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs index cf672807e64a..ff62fc253ba5 100644 --- a/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs +++ b/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs @@ -484,7 +484,7 @@ public static partial class AIProjectsModelFactory public static Azure.AI.Projects.AgentPageableListOfVectorStore AgentPageableListOfVectorStore(Azure.AI.Projects.AgentPageableListOfVectorStoreObject @object = default(Azure.AI.Projects.AgentPageableListOfVectorStoreObject), System.Collections.Generic.IEnumerable data = null, string firstId = null, string lastId = null, bool hasMore = false) { throw null; } public static Azure.AI.Projects.AgentPageableListOfVectorStoreFile AgentPageableListOfVectorStoreFile(Azure.AI.Projects.AgentPageableListOfVectorStoreFileObject @object = default(Azure.AI.Projects.AgentPageableListOfVectorStoreFileObject), System.Collections.Generic.IEnumerable data = null, string firstId = null, string lastId = null, bool hasMore = false) { throw null; } public static Azure.AI.Projects.Evaluation Evaluation(string id = null, Azure.AI.Projects.InputData data = null, string displayName = null, string description = null, Azure.AI.Projects.SystemData systemData = null, string status = null, System.Collections.Generic.IDictionary tags = null, System.Collections.Generic.IDictionary properties = null, System.Collections.Generic.IDictionary evaluators = null) { throw null; } - public static Azure.AI.Projects.EvaluationSchedule EvaluationSchedule(string name = null, Azure.AI.Projects.ApplicationInsightsConfiguration data = null, string description = null, Azure.AI.Projects.SystemData systemData = null, string provisioningStatus = null, System.Collections.Generic.IDictionary tags = null, System.Collections.Generic.IDictionary properties = null, System.Collections.Generic.IDictionary evaluators = null, Azure.AI.Projects.Trigger trigger = null) { throw null; } + public static Azure.AI.Projects.EvaluationSchedule EvaluationSchedule(string name = null, Azure.AI.Projects.ApplicationInsightsConfiguration data = null, string description = null, Azure.AI.Projects.SystemData systemData = null, string provisioningState = null, System.Collections.Generic.IDictionary tags = null, System.Collections.Generic.IDictionary properties = null, string isEnabled = null, System.Collections.Generic.IDictionary evaluators = null, Azure.AI.Projects.Trigger trigger = null) { throw null; } public static Azure.AI.Projects.GetWorkspaceResponse GetWorkspaceResponse(string id = null, string name = null, Azure.AI.Projects.WorkspaceProperties properties = null) { throw null; } public static Azure.AI.Projects.ListConnectionsResponse ListConnectionsResponse(System.Collections.Generic.IEnumerable value = null) { throw null; } public static Azure.AI.Projects.MessageDelta MessageDelta(Azure.AI.Projects.MessageRole role = default(Azure.AI.Projects.MessageRole), System.Collections.Generic.IEnumerable content = null) { throw null; } @@ -753,9 +753,10 @@ public EvaluationSchedule(Azure.AI.Projects.ApplicationInsightsConfiguration dat public Azure.AI.Projects.ApplicationInsightsConfiguration Data { get { throw null; } set { } } public string Description { get { throw null; } set { } } public System.Collections.Generic.IDictionary Evaluators { get { throw null; } } + public string IsEnabled { get { throw null; } } public string Name { get { throw null; } } public System.Collections.Generic.IDictionary Properties { get { throw null; } } - public string ProvisioningStatus { get { throw null; } } + public string ProvisioningState { get { throw null; } } public Azure.AI.Projects.SystemData SystemData { get { throw null; } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } public Azure.AI.Projects.Trigger Trigger { get { throw null; } set { } } @@ -1387,8 +1388,8 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write } public partial class MicrosoftFabricToolDefinition : Azure.AI.Projects.ToolDefinition, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public MicrosoftFabricToolDefinition(Azure.AI.Projects.ToolConnectionList microsoftFabric) { } - public Azure.AI.Projects.ToolConnectionList MicrosoftFabric { get { throw null; } set { } } + public MicrosoftFabricToolDefinition(Azure.AI.Projects.ToolConnectionList fabricAiskill) { } + public Azure.AI.Projects.ToolConnectionList FabricAiskill { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.AI.Projects.MicrosoftFabricToolDefinition System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/AIProjectsModelFactory.cs b/sdk/ai/Azure.AI.Projects/src/Generated/AIProjectsModelFactory.cs index 2065bb08188c..a769bdadcd82 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/AIProjectsModelFactory.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/AIProjectsModelFactory.cs @@ -64,9 +64,10 @@ public static SystemData SystemData(DateTimeOffset? createdAt = null, string cre /// Data for evaluation. /// Description of the evaluation. It can be used to store additional information about the evaluation and is mutable. /// Metadata containing createdBy and modifiedBy information. - /// Status of the evaluation. It is set by service and is read-only. + /// Provisioning State of the evaluation. It is set by service and is read-only. /// Evaluation's tags. Unlike properties, tags are fully mutable. /// Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. + /// Enabled status of the evaluation. It is set by service and is read-only. /// Evaluators to be used for the evaluation. /// /// Trigger for the evaluation. @@ -74,7 +75,7 @@ public static SystemData SystemData(DateTimeOffset? createdAt = null, string cre /// The available derived classes include and . /// /// A new instance for mocking. - public static EvaluationSchedule EvaluationSchedule(string name = null, ApplicationInsightsConfiguration data = null, string description = null, SystemData systemData = null, string provisioningStatus = null, IDictionary tags = null, IDictionary properties = null, IDictionary evaluators = null, Trigger trigger = null) + public static EvaluationSchedule EvaluationSchedule(string name = null, ApplicationInsightsConfiguration data = null, string description = null, SystemData systemData = null, string provisioningState = null, IDictionary tags = null, IDictionary properties = null, string isEnabled = null, IDictionary evaluators = null, Trigger trigger = null) { tags ??= new Dictionary(); properties ??= new Dictionary(); @@ -85,9 +86,10 @@ public static EvaluationSchedule EvaluationSchedule(string name = null, Applicat data, description, systemData, - provisioningStatus, + provisioningState, tags, properties, + isEnabled, evaluators, trigger, serializedAdditionalRawData: null); @@ -193,7 +195,7 @@ public static RunStepMessageCreationReference RunStepMessageCreationReference(st /// /// A list of tool call details for this run step. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// A new instance for mocking. public static RunStepToolCallDetails RunStepToolCallDetails(IEnumerable toolCalls = null) @@ -288,7 +290,7 @@ public static RunStepMicrosoftFabricToolCall RunStepMicrosoftFabricToolCall(stri { microsoftFabric ??= new Dictionary(); - return new RunStepMicrosoftFabricToolCall("microsoft_fabric", id, serializedAdditionalRawData: null, microsoftFabric); + return new RunStepMicrosoftFabricToolCall("fabric_aiskill", id, serializedAdditionalRawData: null, microsoftFabric); } /// Initializes a new instance of . diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Agent.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Agent.cs index 51f05f61a7b8..394ba7cc4b5a 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Agent.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Agent.cs @@ -56,7 +56,7 @@ public partial class Agent /// /// The collection of tools enabled for the agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// /// A set of resources that are used by the agent's tools. The resources are specific to the type of tool. For example, the `code_interpreter` @@ -104,7 +104,7 @@ internal Agent(string id, DateTimeOffset createdAt, string name, string descript /// /// The collection of tools enabled for the agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// /// A set of resources that are used by the agent's tools. The resources are specific to the type of tool. For example, the `code_interpreter` @@ -162,7 +162,7 @@ internal Agent() /// /// The collection of tools enabled for the agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList Tools { get; } /// diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/AgentsNamedToolChoiceType.cs b/sdk/ai/Azure.AI.Projects/src/Generated/AgentsNamedToolChoiceType.cs index 1fce40ad472d..e9371e9da058 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/AgentsNamedToolChoiceType.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/AgentsNamedToolChoiceType.cs @@ -26,7 +26,7 @@ public AgentsNamedToolChoiceType(string value) private const string CodeInterpreterValue = "code_interpreter"; private const string FileSearchValue = "file_search"; private const string BingGroundingValue = "bing_grounding"; - private const string MicrosoftFabricValue = "microsoft_fabric"; + private const string MicrosoftFabricValue = "fabric_aiskill"; private const string SharepointValue = "sharepoint_grounding"; private const string AzureAISearchValue = "azure_ai_search"; @@ -38,7 +38,7 @@ public AgentsNamedToolChoiceType(string value) public static AgentsNamedToolChoiceType FileSearch { get; } = new AgentsNamedToolChoiceType(FileSearchValue); /// Tool type `bing_grounding`. public static AgentsNamedToolChoiceType BingGrounding { get; } = new AgentsNamedToolChoiceType(BingGroundingValue); - /// Tool type `microsoft_fabric`. + /// Tool type `fabric_aiskill`. public static AgentsNamedToolChoiceType MicrosoftFabric { get; } = new AgentsNamedToolChoiceType(MicrosoftFabricValue); /// Tool type `sharepoint_grounding`. public static AgentsNamedToolChoiceType Sharepoint { get; } = new AgentsNamedToolChoiceType(SharepointValue); diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/CodeInterpreterToolResource.cs b/sdk/ai/Azure.AI.Projects/src/Generated/CodeInterpreterToolResource.cs index 1e49d70a3a98..5eebfab8f085 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/CodeInterpreterToolResource.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/CodeInterpreterToolResource.cs @@ -57,7 +57,7 @@ public CodeInterpreterToolResource() /// A list of file IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files /// associated with the tool. /// - /// The data sources to be used. This option is mutually exclusive with fileIds. + /// The data sources to be used. This option is mutually exclusive with the `fileIds` property. /// Keeps track of any properties unknown to the library. internal CodeInterpreterToolResource(IList fileIds, IList dataSources, IDictionary serializedAdditionalRawData) { @@ -71,7 +71,7 @@ internal CodeInterpreterToolResource(IList fileIds, IList public IList FileIds { get; } - /// The data sources to be used. This option is mutually exclusive with fileIds. + /// The data sources to be used. This option is mutually exclusive with the `fileIds` property. public IList DataSources { get; } } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/CreateAgentRequest.cs b/sdk/ai/Azure.AI.Projects/src/Generated/CreateAgentRequest.cs index 606b20563260..591b09e30792 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/CreateAgentRequest.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/CreateAgentRequest.cs @@ -65,7 +65,7 @@ internal CreateAgentRequest(string model) /// /// The collection of tools to enable for the new agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// /// A set of resources that are used by the agent's tools. The resources are specific to the type of tool. For example, the `code_interpreter` @@ -115,7 +115,7 @@ internal CreateAgentRequest() /// /// The collection of tools to enable for the new agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList Tools { get; } /// diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/CreateRunRequest.cs b/sdk/ai/Azure.AI.Projects/src/Generated/CreateRunRequest.cs index 8d7f0f84341c..a9c12b52dc45 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/CreateRunRequest.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/CreateRunRequest.cs @@ -70,7 +70,7 @@ internal CreateRunRequest(string assistantId) /// /// The overridden list of enabled tools that the agent should use to run the thread. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// /// If `true`, returns a stream of events that happen during the Run as server-sent events, @@ -143,7 +143,7 @@ internal CreateRunRequest() /// /// The overridden list of enabled tools that the agent should use to run the thread. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList OverrideTools { get; } /// diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/CreateThreadAndRunRequest.cs b/sdk/ai/Azure.AI.Projects/src/Generated/CreateThreadAndRunRequest.cs index 1a002dd86bdd..d234f56a46c8 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/CreateThreadAndRunRequest.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/CreateThreadAndRunRequest.cs @@ -65,7 +65,7 @@ internal CreateThreadAndRunRequest(string assistantId) /// /// The overridden list of enabled tools the agent should use to run the thread. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// Override the tools the agent can use for this run. This is useful for modifying the behavior on a per-run basis. /// @@ -134,7 +134,7 @@ internal CreateThreadAndRunRequest() /// /// The overridden list of enabled tools the agent should use to run the thread. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList OverrideTools { get; } /// Override the tools the agent can use for this run. This is useful for modifying the behavior on a per-run basis. diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.Serialization.cs b/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.Serialization.cs index 7223d12eb966..e360c896eca0 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.Serialization.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.Serialization.cs @@ -51,10 +51,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("systemData"u8); writer.WriteObjectValue(SystemData, options); } - if (options.Format != "W" && Optional.IsDefined(ProvisioningStatus)) + if (options.Format != "W" && Optional.IsDefined(ProvisioningState)) { - writer.WritePropertyName("provisioningStatus"u8); - writer.WriteStringValue(ProvisioningStatus); + writer.WritePropertyName("provisioningState"u8); + writer.WriteStringValue(ProvisioningState); } if (Optional.IsCollectionDefined(Tags)) { @@ -78,6 +78,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } + if (options.Format != "W" && Optional.IsDefined(IsEnabled)) + { + writer.WritePropertyName("isEnabled"u8); + writer.WriteStringValue(IsEnabled); + } writer.WritePropertyName("evaluators"u8); writer.WriteStartObject(); foreach (var item in Evaluators) @@ -129,9 +134,10 @@ internal static EvaluationSchedule DeserializeEvaluationSchedule(JsonElement ele ApplicationInsightsConfiguration data = default; string description = default; SystemData systemData = default; - string provisioningStatus = default; + string provisioningState = default; IDictionary tags = default; IDictionary properties = default; + string isEnabled = default; IDictionary evaluators = default; Trigger trigger = default; IDictionary serializedAdditionalRawData = default; @@ -162,9 +168,9 @@ internal static EvaluationSchedule DeserializeEvaluationSchedule(JsonElement ele systemData = SystemData.DeserializeSystemData(property.Value, options); continue; } - if (property.NameEquals("provisioningStatus"u8)) + if (property.NameEquals("provisioningState"u8)) { - provisioningStatus = property.Value.GetString(); + provisioningState = property.Value.GetString(); continue; } if (property.NameEquals("tags"u8)) @@ -195,6 +201,11 @@ internal static EvaluationSchedule DeserializeEvaluationSchedule(JsonElement ele properties = dictionary; continue; } + if (property.NameEquals("isEnabled"u8)) + { + isEnabled = property.Value.GetString(); + continue; + } if (property.NameEquals("evaluators"u8)) { Dictionary dictionary = new Dictionary(); @@ -221,9 +232,10 @@ internal static EvaluationSchedule DeserializeEvaluationSchedule(JsonElement ele data, description, systemData, - provisioningStatus, + provisioningState, tags ?? new ChangeTrackingDictionary(), properties ?? new ChangeTrackingDictionary(), + isEnabled, evaluators, trigger, serializedAdditionalRawData); diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.cs b/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.cs index b9f90cc30e6b..ad1104435458 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/EvaluationSchedule.cs @@ -72,9 +72,10 @@ public EvaluationSchedule(ApplicationInsightsConfiguration data, IDictionary Data for evaluation. /// Description of the evaluation. It can be used to store additional information about the evaluation and is mutable. /// Metadata containing createdBy and modifiedBy information. - /// Status of the evaluation. It is set by service and is read-only. + /// Provisioning State of the evaluation. It is set by service and is read-only. /// Evaluation's tags. Unlike properties, tags are fully mutable. /// Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. + /// Enabled status of the evaluation. It is set by service and is read-only. /// Evaluators to be used for the evaluation. /// /// Trigger for the evaluation. @@ -82,15 +83,16 @@ public EvaluationSchedule(ApplicationInsightsConfiguration data, IDictionary and . /// /// Keeps track of any properties unknown to the library. - internal EvaluationSchedule(string name, ApplicationInsightsConfiguration data, string description, SystemData systemData, string provisioningStatus, IDictionary tags, IDictionary properties, IDictionary evaluators, Trigger trigger, IDictionary serializedAdditionalRawData) + internal EvaluationSchedule(string name, ApplicationInsightsConfiguration data, string description, SystemData systemData, string provisioningState, IDictionary tags, IDictionary properties, string isEnabled, IDictionary evaluators, Trigger trigger, IDictionary serializedAdditionalRawData) { Name = name; Data = data; Description = description; SystemData = systemData; - ProvisioningStatus = provisioningStatus; + ProvisioningState = provisioningState; Tags = tags; Properties = properties; + IsEnabled = isEnabled; Evaluators = evaluators; Trigger = trigger; _serializedAdditionalRawData = serializedAdditionalRawData; @@ -109,12 +111,14 @@ internal EvaluationSchedule() public string Description { get; set; } /// Metadata containing createdBy and modifiedBy information. public SystemData SystemData { get; } - /// Status of the evaluation. It is set by service and is read-only. - public string ProvisioningStatus { get; } + /// Provisioning State of the evaluation. It is set by service and is read-only. + public string ProvisioningState { get; } /// Evaluation's tags. Unlike properties, tags are fully mutable. public IDictionary Tags { get; } /// Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. public IDictionary Properties { get; } + /// Enabled status of the evaluation. It is set by service and is read-only. + public string IsEnabled { get; } /// Evaluators to be used for the evaluation. public IDictionary Evaluators { get; } /// diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/FileSearchToolResource.cs b/sdk/ai/Azure.AI.Projects/src/Generated/FileSearchToolResource.cs index da9f6a2ceb26..9dc2301d67ea 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/FileSearchToolResource.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/FileSearchToolResource.cs @@ -58,9 +58,9 @@ public FileSearchToolResource() /// store attached to the agent. /// /// - /// The list of vector store configuration objects from Azure. This list is limited to one - /// element. The only element of this list contains - /// the list of azure asset IDs used by the search tool. + /// The list of vector store configuration objects from Azure. + /// This list is limited to one element. + /// The only element of this list contains the list of azure asset IDs used by the search tool. /// /// Keeps track of any properties unknown to the library. internal FileSearchToolResource(IList vectorStoreIds, IList vectorStores, IDictionary serializedAdditionalRawData) @@ -76,9 +76,9 @@ internal FileSearchToolResource(IList vectorStoreIds, IList public IList VectorStoreIds { get; } /// - /// The list of vector store configuration objects from Azure. This list is limited to one - /// element. The only element of this list contains - /// the list of azure asset IDs used by the search tool. + /// The list of vector store configuration objects from Azure. + /// This list is limited to one element. + /// The only element of this list contains the list of azure asset IDs used by the search tool. /// public IList VectorStores { get; } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs b/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs index 74fb6c1c1968..ad1aecac6013 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs @@ -35,8 +35,8 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } base.JsonModelWriteCore(writer, options); - writer.WritePropertyName("microsoft_fabric"u8); - writer.WriteObjectValue(MicrosoftFabric, options); + writer.WritePropertyName("fabric_aiskill"u8); + writer.WriteObjectValue(FabricAiskill, options); } MicrosoftFabricToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) @@ -59,15 +59,15 @@ internal static MicrosoftFabricToolDefinition DeserializeMicrosoftFabricToolDefi { return null; } - ToolConnectionList microsoftFabric = default; + ToolConnectionList fabricAiskill = default; string type = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("microsoft_fabric"u8)) + if (property.NameEquals("fabric_aiskill"u8)) { - microsoftFabric = ToolConnectionList.DeserializeToolConnectionList(property.Value, options); + fabricAiskill = ToolConnectionList.DeserializeToolConnectionList(property.Value, options); continue; } if (property.NameEquals("type"u8)) @@ -81,7 +81,7 @@ internal static MicrosoftFabricToolDefinition DeserializeMicrosoftFabricToolDefi } } serializedAdditionalRawData = rawDataDictionary; - return new MicrosoftFabricToolDefinition(type, serializedAdditionalRawData, microsoftFabric); + return new MicrosoftFabricToolDefinition(type, serializedAdditionalRawData, fabricAiskill); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.cs b/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.cs index fb886ddbd869..f62e63d2f7f0 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/MicrosoftFabricToolDefinition.cs @@ -14,23 +14,23 @@ namespace Azure.AI.Projects public partial class MicrosoftFabricToolDefinition : ToolDefinition { /// Initializes a new instance of . - /// The list of connections used by the Microsoft Fabric tool. - /// is null. - public MicrosoftFabricToolDefinition(ToolConnectionList microsoftFabric) + /// The list of connections used by the Microsoft Fabric tool. + /// is null. + public MicrosoftFabricToolDefinition(ToolConnectionList fabricAiskill) { - Argument.AssertNotNull(microsoftFabric, nameof(microsoftFabric)); + Argument.AssertNotNull(fabricAiskill, nameof(fabricAiskill)); - Type = "microsoft_fabric"; - MicrosoftFabric = microsoftFabric; + Type = "fabric_aiskill"; + FabricAiskill = fabricAiskill; } /// Initializes a new instance of . /// The object type. /// Keeps track of any properties unknown to the library. - /// The list of connections used by the Microsoft Fabric tool. - internal MicrosoftFabricToolDefinition(string type, IDictionary serializedAdditionalRawData, ToolConnectionList microsoftFabric) : base(type, serializedAdditionalRawData) + /// The list of connections used by the Microsoft Fabric tool. + internal MicrosoftFabricToolDefinition(string type, IDictionary serializedAdditionalRawData, ToolConnectionList fabricAiskill) : base(type, serializedAdditionalRawData) { - MicrosoftFabric = microsoftFabric; + FabricAiskill = fabricAiskill; } /// Initializes a new instance of for deserialization. @@ -39,6 +39,6 @@ internal MicrosoftFabricToolDefinition() } /// The list of connections used by the Microsoft Fabric tool. - public ToolConnectionList MicrosoftFabric { get; set; } + public ToolConnectionList FabricAiskill { get; set; } } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/RequiredToolCall.cs b/sdk/ai/Azure.AI.Projects/src/Generated/RequiredToolCall.cs index f9e94be0b0fd..abeb4d7c18ec 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/RequiredToolCall.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/RequiredToolCall.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Projects { /// - /// An abstract representation a a tool invocation needed by the model to continue a run. + /// An abstract representation of a tool invocation needed by the model to continue a run. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include . /// diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs b/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs index e4cbd4acd590..1b3f42907d65 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs @@ -35,7 +35,7 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } base.JsonModelWriteCore(writer, options); - writer.WritePropertyName("microsoft_fabric"u8); + writer.WritePropertyName("fabric_aiskill"u8); writer.WriteStartObject(); foreach (var item in MicrosoftFabric) { @@ -65,21 +65,21 @@ internal static RunStepMicrosoftFabricToolCall DeserializeRunStepMicrosoftFabric { return null; } - IReadOnlyDictionary microsoftFabric = default; + IReadOnlyDictionary fabricAiskill = default; string type = default; string id = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("microsoft_fabric"u8)) + if (property.NameEquals("fabric_aiskill"u8)) { Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { dictionary.Add(property0.Name, property0.Value.GetString()); } - microsoftFabric = dictionary; + fabricAiskill = dictionary; continue; } if (property.NameEquals("type"u8)) @@ -98,7 +98,7 @@ internal static RunStepMicrosoftFabricToolCall DeserializeRunStepMicrosoftFabric } } serializedAdditionalRawData = rawDataDictionary; - return new RunStepMicrosoftFabricToolCall(type, id, serializedAdditionalRawData, microsoftFabric); + return new RunStepMicrosoftFabricToolCall(type, id, serializedAdditionalRawData, fabricAiskill); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.cs b/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.cs index 15f664c26464..b212127c0605 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/RunStepMicrosoftFabricToolCall.cs @@ -25,7 +25,7 @@ internal RunStepMicrosoftFabricToolCall(string id, IReadOnlyDictionary /// An abstract representation of a detailed tool call as recorded within a run step for an existing run. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public abstract partial class RunStepToolCall { diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/RunStepToolCallDetails.cs b/sdk/ai/Azure.AI.Projects/src/Generated/RunStepToolCallDetails.cs index f5a2490363ac..f734d2d76efe 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/RunStepToolCallDetails.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/RunStepToolCallDetails.cs @@ -18,7 +18,7 @@ public partial class RunStepToolCallDetails : RunStepDetails /// /// A list of tool call details for this run step. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// is null. internal RunStepToolCallDetails(IEnumerable toolCalls) @@ -35,7 +35,7 @@ internal RunStepToolCallDetails(IEnumerable toolCalls) /// /// A list of tool call details for this run step. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// internal RunStepToolCallDetails(RunStepType type, IDictionary serializedAdditionalRawData, IReadOnlyList toolCalls) : base(type, serializedAdditionalRawData) { @@ -50,7 +50,7 @@ internal RunStepToolCallDetails() /// /// A list of tool call details for this run step. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList ToolCalls { get; } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/ThreadRun.cs b/sdk/ai/Azure.AI.Projects/src/Generated/ThreadRun.cs index e3aa03d008e0..42756de9db4a 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/ThreadRun.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/ThreadRun.cs @@ -57,7 +57,7 @@ public partial class ThreadRun /// /// The overridden enabled tools used for this agent thread run. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// The Unix timestamp, in seconds, representing when this object was created. /// The Unix timestamp, in seconds, representing when this item expires. @@ -124,7 +124,7 @@ internal ThreadRun(string id, string threadId, string assistantId, RunStatus sta /// /// The overridden enabled tools used for this agent thread run. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// The Unix timestamp, in seconds, representing when this object was created. /// The Unix timestamp, in seconds, representing when this item expires. @@ -207,7 +207,7 @@ internal ThreadRun() /// /// The overridden enabled tools used for this agent thread run. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList Tools { get; } /// The Unix timestamp, in seconds, representing when this object was created. diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/ToolConnectionList.cs b/sdk/ai/Azure.AI.Projects/src/Generated/ToolConnectionList.cs index f0969e099cd3..9b4fec134cef 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/ToolConnectionList.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/ToolConnectionList.cs @@ -10,7 +10,7 @@ namespace Azure.AI.Projects { - /// A set of connection resources currently used by either the `bing_grounding`, `microsoft_fabric`, or `sharepoint_grounding` tools. + /// A set of connection resources currently used by either the `bing_grounding`, `fabric_aiskill`, or `sharepoint_grounding` tools. public partial class ToolConnectionList { /// diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.Serialization.cs b/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.Serialization.cs index 6a49db04a1ef..9f93ac27a465 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.Serialization.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.Serialization.cs @@ -80,9 +80,9 @@ internal static ToolDefinition DeserializeToolDefinition(JsonElement element, Mo case "azure_ai_search": return AzureAISearchToolDefinition.DeserializeAzureAISearchToolDefinition(element, options); case "bing_grounding": return BingGroundingToolDefinition.DeserializeBingGroundingToolDefinition(element, options); case "code_interpreter": return CodeInterpreterToolDefinition.DeserializeCodeInterpreterToolDefinition(element, options); + case "fabric_aiskill": return MicrosoftFabricToolDefinition.DeserializeMicrosoftFabricToolDefinition(element, options); case "file_search": return FileSearchToolDefinition.DeserializeFileSearchToolDefinition(element, options); case "function": return FunctionToolDefinition.DeserializeFunctionToolDefinition(element, options); - case "microsoft_fabric": return MicrosoftFabricToolDefinition.DeserializeMicrosoftFabricToolDefinition(element, options); case "sharepoint_grounding": return SharepointToolDefinition.DeserializeSharepointToolDefinition(element, options); } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.cs b/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.cs index f55e42475173..81252e5ccbba 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/ToolDefinition.cs @@ -13,7 +13,7 @@ namespace Azure.AI.Projects /// /// An abstract representation of an input tool definition that an agent can use. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public abstract partial class ToolDefinition { diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/ToolResources.cs b/sdk/ai/Azure.AI.Projects/src/Generated/ToolResources.cs index 28193fd49d85..f3bc125c78b5 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/ToolResources.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/ToolResources.cs @@ -55,7 +55,7 @@ public ToolResources() } /// Initializes a new instance of . - /// Resources to be used by the `code_interpreter tool` consisting of file IDs. + /// Resources to be used by the `code_interpreter` tool consisting of file IDs. /// Resources to be used by the `file_search` tool consisting of vector store IDs. /// Resources to be used by the `azure_ai_search` tool consisting of index IDs and names. /// Keeps track of any properties unknown to the library. @@ -67,7 +67,7 @@ internal ToolResources(CodeInterpreterToolResource codeInterpreter, FileSearchTo _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Resources to be used by the `code_interpreter tool` consisting of file IDs. + /// Resources to be used by the `code_interpreter` tool consisting of file IDs. public CodeInterpreterToolResource CodeInterpreter { get; set; } /// Resources to be used by the `file_search` tool consisting of vector store IDs. public FileSearchToolResource FileSearch { get; set; } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/UpdateAgentRequest.cs b/sdk/ai/Azure.AI.Projects/src/Generated/UpdateAgentRequest.cs index 518491348498..da7f3ac2d4b5 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/UpdateAgentRequest.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/UpdateAgentRequest.cs @@ -60,7 +60,7 @@ internal UpdateAgentRequest() /// /// The modified collection of tools to enable for the agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// /// /// A set of resources that are used by the agent's tools. The resources are specific to the type of tool. For example, @@ -105,7 +105,7 @@ internal UpdateAgentRequest(string model, string name, string description, strin /// /// The modified collection of tools to enable for the agent. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include , , , , , and . + /// The available derived classes include , , , , , and . /// public IReadOnlyList Tools { get; } /// diff --git a/sdk/ai/Azure.AI.Projects/tsp-location.yaml b/sdk/ai/Azure.AI.Projects/tsp-location.yaml index 4e3c828b8d65..15c9011abe49 100644 --- a/sdk/ai/Azure.AI.Projects/tsp-location.yaml +++ b/sdk/ai/Azure.AI.Projects/tsp-location.yaml @@ -1,3 +1,4 @@ directory: specification/ai/Azure.AI.Projects -commit: 17ab26e678f06460cd154e2c0cb187aae158f4bf +commit: df822014981061974d73b35e3377ec20aa28a832 repo: Azure/azure-rest-api-specs +additionalDirectories: