diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfiguration.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfiguration.Serialization.cs
deleted file mode 100644
index ac57ac91f74f..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfiguration.Serialization.cs
+++ /dev/null
@@ -1,205 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class BingCustomSearchConfiguration : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(BingCustomSearchConfiguration)} does not support writing '{format}' format.");
- }
-
- writer.WritePropertyName("connection_id"u8);
- writer.WriteStringValue(ConnectionId);
- writer.WritePropertyName("instance_name"u8);
- writer.WriteStringValue(InstanceName);
- if (Optional.IsDefined(Market))
- {
- writer.WritePropertyName("market"u8);
- writer.WriteStringValue(Market);
- }
- if (Optional.IsDefined(SetLang))
- {
- writer.WritePropertyName("set_lang"u8);
- writer.WriteStringValue(SetLang);
- }
- if (Optional.IsDefined(Count))
- {
- writer.WritePropertyName("count"u8);
- writer.WriteNumberValue(Count.Value);
- }
- if (Optional.IsDefined(Freshness))
- {
- writer.WritePropertyName("freshness"u8);
- writer.WriteStringValue(Freshness);
- }
- if (options.Format != "W" && _serializedAdditionalRawData != null)
- {
- foreach (var item in _serializedAdditionalRawData)
- {
- writer.WritePropertyName(item.Key);
-#if NET6_0_OR_GREATER
- writer.WriteRawValue(item.Value);
-#else
- using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
- {
- JsonSerializer.Serialize(writer, document.RootElement);
- }
-#endif
- }
- }
- }
-
- BingCustomSearchConfiguration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(BingCustomSearchConfiguration)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeBingCustomSearchConfiguration(document.RootElement, options);
- }
-
- internal static BingCustomSearchConfiguration DeserializeBingCustomSearchConfiguration(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- string connectionId = default;
- string instanceName = default;
- string market = default;
- string setLang = default;
- long? count = default;
- string freshness = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("connection_id"u8))
- {
- connectionId = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("instance_name"u8))
- {
- instanceName = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("market"u8))
- {
- market = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("set_lang"u8))
- {
- setLang = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("count"u8))
- {
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- continue;
- }
- count = property.Value.GetInt64();
- continue;
- }
- if (property.NameEquals("freshness"u8))
- {
- freshness = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new BingCustomSearchConfiguration(
- connectionId,
- instanceName,
- market,
- setLang,
- count,
- freshness,
- serializedAdditionalRawData);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(BingCustomSearchConfiguration)} does not support writing '{options.Format}' format.");
- }
- }
-
- BingCustomSearchConfiguration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeBingCustomSearchConfiguration(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(BingCustomSearchConfiguration)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static BingCustomSearchConfiguration FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeBingCustomSearchConfiguration(document.RootElement);
- }
-
- /// Convert into a .
- internal virtual RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfiguration.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfiguration.cs
deleted file mode 100644
index a157244c40fb..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfiguration.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- /// A bing custom search configuration.
- public partial class BingCustomSearchConfiguration
- {
- ///
- /// Keeps track of any properties unknown to the library.
- ///
- /// To assign an object to the value of this property use .
- ///
- ///
- /// To assign an already formatted json string to this property use .
- ///
- ///
- /// Examples:
- ///
- /// -
- /// BinaryData.FromObjectAsJson("foo")
- /// Creates a payload of "foo".
- ///
- /// -
- /// BinaryData.FromString("\"foo\"")
- /// Creates a payload of "foo".
- ///
- /// -
- /// BinaryData.FromObjectAsJson(new { key = "value" })
- /// Creates a payload of { "key": "value" }.
- ///
- /// -
- /// BinaryData.FromString("{\"key\": \"value\"}")
- /// Creates a payload of { "key": "value" }.
- ///
- ///
- ///
- ///
- private IDictionary _serializedAdditionalRawData;
-
- /// Initializes a new instance of .
- /// Connection id for grounding with bing search.
- /// Name of the custom configuration instance given to config.
- /// or is null.
- public BingCustomSearchConfiguration(string connectionId, string instanceName)
- {
- Argument.AssertNotNull(connectionId, nameof(connectionId));
- Argument.AssertNotNull(instanceName, nameof(instanceName));
-
- ConnectionId = connectionId;
- InstanceName = instanceName;
- }
-
- /// Initializes a new instance of .
- /// Connection id for grounding with bing search.
- /// Name of the custom configuration instance given to config.
- /// The market where the results come from.
- /// The language to use for user interface strings when calling Bing API.
- /// The number of search results to return in the bing api response.
- /// Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters.
- /// Keeps track of any properties unknown to the library.
- internal BingCustomSearchConfiguration(string connectionId, string instanceName, string market, string setLang, long? count, string freshness, IDictionary serializedAdditionalRawData)
- {
- ConnectionId = connectionId;
- InstanceName = instanceName;
- Market = market;
- SetLang = setLang;
- Count = count;
- Freshness = freshness;
- _serializedAdditionalRawData = serializedAdditionalRawData;
- }
-
- /// Initializes a new instance of for deserialization.
- internal BingCustomSearchConfiguration()
- {
- }
-
- /// Connection id for grounding with bing search.
- public string ConnectionId { get; set; }
- /// Name of the custom configuration instance given to config.
- public string InstanceName { get; set; }
- /// The market where the results come from.
- public string Market { get; set; }
- /// The language to use for user interface strings when calling Bing API.
- public string SetLang { get; set; }
- /// The number of search results to return in the bing api response.
- public long? Count { get; set; }
- /// Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters.
- public string Freshness { get; set; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfigurationList.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfigurationList.Serialization.cs
deleted file mode 100644
index 1f16b0532430..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfigurationList.Serialization.cs
+++ /dev/null
@@ -1,152 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class BingCustomSearchConfigurationList : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(BingCustomSearchConfigurationList)} does not support writing '{format}' format.");
- }
-
- writer.WritePropertyName("search_configurations"u8);
- writer.WriteStartArray();
- foreach (var item in SearchConfigurations)
- {
- writer.WriteObjectValue(item, options);
- }
- writer.WriteEndArray();
- if (options.Format != "W" && _serializedAdditionalRawData != null)
- {
- foreach (var item in _serializedAdditionalRawData)
- {
- writer.WritePropertyName(item.Key);
-#if NET6_0_OR_GREATER
- writer.WriteRawValue(item.Value);
-#else
- using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
- {
- JsonSerializer.Serialize(writer, document.RootElement);
- }
-#endif
- }
- }
- }
-
- BingCustomSearchConfigurationList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(BingCustomSearchConfigurationList)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeBingCustomSearchConfigurationList(document.RootElement, options);
- }
-
- internal static BingCustomSearchConfigurationList DeserializeBingCustomSearchConfigurationList(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- IList searchConfigurations = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("search_configurations"u8))
- {
- List array = new List();
- foreach (var item in property.Value.EnumerateArray())
- {
- array.Add(BingCustomSearchConfiguration.DeserializeBingCustomSearchConfiguration(item, options));
- }
- searchConfigurations = array;
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new BingCustomSearchConfigurationList(searchConfigurations, serializedAdditionalRawData);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(BingCustomSearchConfigurationList)} does not support writing '{options.Format}' format.");
- }
- }
-
- BingCustomSearchConfigurationList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeBingCustomSearchConfigurationList(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(BingCustomSearchConfigurationList)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static BingCustomSearchConfigurationList FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeBingCustomSearchConfigurationList(document.RootElement);
- }
-
- /// Convert into a .
- internal virtual RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfigurationList.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfigurationList.cs
deleted file mode 100644
index ba154aacae2b..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchConfigurationList.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace Azure.AI.Agents.Persistent
-{
- /// A list of search configurations currently used by the `bing_custom_search` tool.
- public partial class BingCustomSearchConfigurationList
- {
- ///
- /// Keeps track of any properties unknown to the library.
- ///
- /// To assign an object to the value of this property use .
- ///
- ///
- /// To assign an already formatted json string to this property use .
- ///
- ///
- /// Examples:
- ///
- /// -
- /// BinaryData.FromObjectAsJson("foo")
- /// Creates a payload of "foo".
- ///
- /// -
- /// BinaryData.FromString("\"foo\"")
- /// Creates a payload of "foo".
- ///
- /// -
- /// BinaryData.FromObjectAsJson(new { key = "value" })
- /// Creates a payload of { "key": "value" }.
- ///
- /// -
- /// BinaryData.FromString("{\"key\": \"value\"}")
- /// Creates a payload of { "key": "value" }.
- ///
- ///
- ///
- ///
- private IDictionary _serializedAdditionalRawData;
-
- /// Initializes a new instance of .
- ///
- /// The connections attached to this tool. There can be a maximum of 1 connection
- /// resource attached to the tool.
- ///
- /// is null.
- public BingCustomSearchConfigurationList(IEnumerable searchConfigurations)
- {
- Argument.AssertNotNull(searchConfigurations, nameof(searchConfigurations));
-
- SearchConfigurations = searchConfigurations.ToList();
- }
-
- /// Initializes a new instance of .
- ///
- /// The connections attached to this tool. There can be a maximum of 1 connection
- /// resource attached to the tool.
- ///
- /// Keeps track of any properties unknown to the library.
- internal BingCustomSearchConfigurationList(IList searchConfigurations, IDictionary serializedAdditionalRawData)
- {
- SearchConfigurations = searchConfigurations;
- _serializedAdditionalRawData = serializedAdditionalRawData;
- }
-
- /// Initializes a new instance of for deserialization.
- internal BingCustomSearchConfigurationList()
- {
- }
-
- ///
- /// The connections attached to this tool. There can be a maximum of 1 connection
- /// resource attached to the tool.
- ///
- public IList SearchConfigurations { get; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchToolDefinition.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchToolDefinition.Serialization.cs
deleted file mode 100644
index 020abce9e0ea..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchToolDefinition.Serialization.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class BingCustomSearchToolDefinition : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(BingCustomSearchToolDefinition)} does not support writing '{format}' format.");
- }
-
- base.JsonModelWriteCore(writer, options);
- writer.WritePropertyName("bing_custom_search"u8);
- writer.WriteObjectValue(BingCustomSearch, options);
- }
-
- BingCustomSearchToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(BingCustomSearchToolDefinition)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeBingCustomSearchToolDefinition(document.RootElement, options);
- }
-
- internal static BingCustomSearchToolDefinition DeserializeBingCustomSearchToolDefinition(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- BingCustomSearchConfigurationList bingCustomSearch = default;
- string type = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("bing_custom_search"u8))
- {
- bingCustomSearch = BingCustomSearchConfigurationList.DeserializeBingCustomSearchConfigurationList(property.Value, options);
- continue;
- }
- if (property.NameEquals("type"u8))
- {
- type = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new BingCustomSearchToolDefinition(type, serializedAdditionalRawData, bingCustomSearch);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(BingCustomSearchToolDefinition)} does not support writing '{options.Format}' format.");
- }
- }
-
- BingCustomSearchToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeBingCustomSearchToolDefinition(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(BingCustomSearchToolDefinition)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static new BingCustomSearchToolDefinition FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeBingCustomSearchToolDefinition(document.RootElement);
- }
-
- /// Convert into a .
- internal override RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchToolDefinition.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchToolDefinition.cs
deleted file mode 100644
index 3018f822f2a4..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/BingCustomSearchToolDefinition.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- /// The input definition information for a Bing custom search tool as used to configure an agent.
- public partial class BingCustomSearchToolDefinition : ToolDefinition
- {
- /// Initializes a new instance of .
- /// The list of search configurations used by the bing custom search tool.
- /// is null.
- public BingCustomSearchToolDefinition(BingCustomSearchConfigurationList bingCustomSearch)
- {
- Argument.AssertNotNull(bingCustomSearch, nameof(bingCustomSearch));
-
- Type = "bing_custom_search";
- BingCustomSearch = bingCustomSearch;
- }
-
- /// Initializes a new instance of .
- /// The object type.
- /// Keeps track of any properties unknown to the library.
- /// The list of search configurations used by the bing custom search tool.
- internal BingCustomSearchToolDefinition(string type, IDictionary serializedAdditionalRawData, BingCustomSearchConfigurationList bingCustomSearch) : base(type, serializedAdditionalRawData)
- {
- BingCustomSearch = bingCustomSearch;
- }
-
- /// Initializes a new instance of for deserialization.
- internal BingCustomSearchToolDefinition()
- {
- }
-
- /// The list of search configurations used by the bing custom search tool.
- public BingCustomSearchConfigurationList BingCustomSearch { get; set; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateAgentRequest.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateAgentRequest.cs
index 02993f45cecc..14c2a11fbd92 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateAgentRequest.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/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.Agents.Persistent/src/Generated/CreateRunRequest.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateRunRequest.cs
index d6413572c7a9..68dabc3ba735 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateRunRequest.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/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,
@@ -145,7 +145,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.Agents.Persistent/src/Generated/CreateThreadAndRunRequest.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateThreadAndRunRequest.cs
index 49848d9fc53c..37a47f79f6ac 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/CreateThreadAndRunRequest.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/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.
///
@@ -136,7 +136,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.Agents.Persistent/src/Generated/Docs/PersistentAgentsAdministrationClient.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/PersistentAgentsAdministrationClient.xml
new file mode 100644
index 000000000000..8e31e38b44f4
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/PersistentAgentsAdministrationClient.xml
@@ -0,0 +1,1063 @@
+
+
+
+
+
+This sample shows how to call CreateAgentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.CreateAgentAsync("jyrgfmhrrrngtonrmo");
+]]>
+This sample shows how to call CreateAgentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.CreateAgentAsync("jyrgfmhrrrngtonrmo");
+]]>
+
+
+
+This sample shows how to call CreateAgent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.CreateAgent("jyrgfmhrrrngtonrmo");
+]]>
+This sample shows how to call CreateAgent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.CreateAgent("jyrgfmhrrrngtonrmo");
+]]>
+
+
+
+This sample shows how to call CreateAgentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new
+{
+ model = "jyrgfmhrrrngtonrmo",
+ name = "zyldigcd",
+ description = "dhjkjzixwadczfduxpodfrdhgz",
+ instructions = "haeralumiezrrsaqzmbkkjcfxpqqog",
+ tools = Array.Empty
+This sample shows how to call CreateAgentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new
+{
+ model = "jyrgfmhrrrngtonrmo",
+});
+Response response = await client.CreateAgentAsync(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call CreateAgent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new
+{
+ model = "jyrgfmhrrrngtonrmo",
+ name = "zyldigcd",
+ description = "dhjkjzixwadczfduxpodfrdhgz",
+ instructions = "haeralumiezrrsaqzmbkkjcfxpqqog",
+ tools = Array.Empty
+This sample shows how to call CreateAgent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new
+{
+ model = "jyrgfmhrrrngtonrmo",
+});
+Response response = client.CreateAgent(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetAgentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.GetAgentAsync("rzrtnsfncjtctybnxemiugavvf");
+]]>
+This sample shows how to call GetAgentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.GetAgentAsync("rzrtnsfncjtctybnxemiugavvf");
+]]>
+
+
+
+This sample shows how to call GetAgent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.GetAgent("rzrtnsfncjtctybnxemiugavvf");
+]]>
+This sample shows how to call GetAgent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.GetAgent("rzrtnsfncjtctybnxemiugavvf");
+]]>
+
+
+
+This sample shows how to call GetAgentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.GetAgentAsync("rzrtnsfncjtctybnxemiugavvf", (RequestContext)null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetAgentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.GetAgentAsync("rzrtnsfncjtctybnxemiugavvf", (RequestContext)null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetAgent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.GetAgent("rzrtnsfncjtctybnxemiugavvf", (RequestContext)null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetAgent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.GetAgent("rzrtnsfncjtctybnxemiugavvf", (RequestContext)null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateAgentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.UpdateAgentAsync("nibpceztzjbmfzoas");
+]]>
+This sample shows how to call UpdateAgentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = await client.UpdateAgentAsync("nibpceztzjbmfzoas");
+]]>
+
+
+
+This sample shows how to call UpdateAgent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.UpdateAgent("nibpceztzjbmfzoas");
+]]>
+This sample shows how to call UpdateAgent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+Response response = client.UpdateAgent("nibpceztzjbmfzoas");
+]]>
+
+
+
+This sample shows how to call UpdateAgentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new
+{
+ model = "ovsqsbcptyb",
+ name = "twuqmjwybuqaolohuuhwwgnmfxpwgj",
+ description = "iosozem",
+ instructions = "wvkhggyrkzvhx",
+ tools = Array.Empty
+This sample shows how to call UpdateAgentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = await client.UpdateAgentAsync("nibpceztzjbmfzoas", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateAgent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new
+{
+ model = "ovsqsbcptyb",
+ name = "twuqmjwybuqaolohuuhwwgnmfxpwgj",
+ description = "iosozem",
+ instructions = "wvkhggyrkzvhx",
+ tools = Array.Empty
+This sample shows how to call UpdateAgent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = client.UpdateAgent("nibpceztzjbmfzoas", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("temperature").ToString());
+Console.WriteLine(result.GetProperty("top_p").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetAgentsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+await foreach (PersistentAgent item in client.GetAgentsAsync())
+{
+}
+]]>
+This sample shows how to call GetAgentsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+await foreach (PersistentAgent item in client.GetAgentsAsync())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetAgents.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+foreach (PersistentAgent item in client.GetAgents())
+{
+}
+]]>
+This sample shows how to call GetAgents.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+foreach (PersistentAgent item in client.GetAgents())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetAgentsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+await foreach (BinaryData item in client.GetAgentsAsync(23, "asc", "ybuapkj", "yicprwkzcjbeirwuznafws", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("model").ToString());
+ Console.WriteLine(result.GetProperty("instructions").ToString());
+ Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("temperature").ToString());
+ Console.WriteLine(result.GetProperty("top_p").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetAgentsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+await foreach (BinaryData item in client.GetAgentsAsync((int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("model").ToString());
+ Console.WriteLine(result.GetProperty("instructions").ToString());
+ Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("temperature").ToString());
+ Console.WriteLine(result.GetProperty("top_p").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetAgents and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+foreach (BinaryData item in client.GetAgents(23, "asc", "ybuapkj", "yicprwkzcjbeirwuznafws", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("model").ToString());
+ Console.WriteLine(result.GetProperty("instructions").ToString());
+ Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("temperature").ToString());
+ Console.WriteLine(result.GetProperty("top_p").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetAgents and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsAdministrationClient client = new PersistentAgentsAdministrationClient(endpoint, credential);
+
+foreach (BinaryData item in client.GetAgents((int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("model").ToString());
+ Console.WriteLine(result.GetProperty("instructions").ToString());
+ Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("temperature").ToString());
+ Console.WriteLine(result.GetProperty("top_p").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/PersistentAgentsFiles.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/PersistentAgentsFiles.xml
new file mode 100644
index 000000000000..36e7e3d36937
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/PersistentAgentsFiles.xml
@@ -0,0 +1,201 @@
+
+
+
+
+
+This sample shows how to call GetFileAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileAsync("lsvyhecgodljeaavd");
+]]>
+This sample shows how to call GetFileAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileAsync("cpkshmceejnyuivzhyorchrl");
+]]>
+
+
+
+This sample shows how to call GetFile.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFile("lsvyhecgodljeaavd");
+]]>
+This sample shows how to call GetFile.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFile("cpkshmceejnyuivzhyorchrl");
+]]>
+
+
+
+This sample shows how to call GetFileAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileAsync("lsvyhecgodljeaavd", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("bytes").ToString());
+Console.WriteLine(result.GetProperty("filename").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("purpose").ToString());
+]]>
+This sample shows how to call GetFileAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileAsync("cpkshmceejnyuivzhyorchrl", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("bytes").ToString());
+Console.WriteLine(result.GetProperty("filename").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("purpose").ToString());
+]]>
+
+
+
+This sample shows how to call GetFile and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFile("lsvyhecgodljeaavd", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("bytes").ToString());
+Console.WriteLine(result.GetProperty("filename").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("purpose").ToString());
+]]>
+This sample shows how to call GetFile and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFile("cpkshmceejnyuivzhyorchrl", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("bytes").ToString());
+Console.WriteLine(result.GetProperty("filename").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("purpose").ToString());
+]]>
+
+
+
+This sample shows how to call GetFileContentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileContentAsync("dfzstslvjtioavergjgq");
+]]>
+This sample shows how to call GetFileContentAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileContentAsync("jpzynxpsrccmo");
+]]>
+
+
+
+This sample shows how to call GetFileContent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFileContent("dfzstslvjtioavergjgq");
+]]>
+This sample shows how to call GetFileContent.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFileContent("jpzynxpsrccmo");
+]]>
+
+
+
+This sample shows how to call GetFileContentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileContentAsync("dfzstslvjtioavergjgq", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call GetFileContentAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = await client.GetFileContentAsync("jpzynxpsrccmo", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+
+
+
+This sample shows how to call GetFileContent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFileContent("dfzstslvjtioavergjgq", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+This sample shows how to call GetFileContent and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+PersistentAgentsFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetPersistentAgentsFilesClient();
+
+Response response = client.GetFileContent("jpzynxpsrccmo", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.ToString());
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadMessages.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadMessages.xml
new file mode 100644
index 000000000000..51874ff94880
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadMessages.xml
@@ -0,0 +1,571 @@
+
+
+
+
+
+This sample shows how to call CreateMessageAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.CreateMessageAsync("zipaoiwxasiavnmlnkg", MessageRole.User, (BinaryData)null);
+]]>
+
+
+
+This sample shows how to call CreateMessage.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.CreateMessage("zipaoiwxasiavnmlnkg", MessageRole.User, (BinaryData)null);
+]]>
+
+
+
+This sample shows how to call CreateMessageAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ role = "user",
+ attachments = new object[]
+ {
+ new
+ {
+ file_id = "uslxhectlaptpkjcxnjzhkzprso",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ tools = Array.Empty
+
+
+
+This sample shows how to call CreateMessage and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ role = "user",
+ attachments = new object[]
+ {
+ new
+ {
+ file_id = "uslxhectlaptpkjcxnjzhkzprso",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ tools = Array.Empty
+
+
+
+This sample shows how to call GetMessageAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.GetMessageAsync("wazfimispaosrwcw", "rntlkaswrsmq");
+]]>
+This sample shows how to call GetMessageAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.GetMessageAsync("gnhpgvsdkyugddnkifumj", "krpdbqetvarfbwcczwa");
+]]>
+
+
+
+This sample shows how to call GetMessage.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.GetMessage("wazfimispaosrwcw", "rntlkaswrsmq");
+]]>
+This sample shows how to call GetMessage.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.GetMessage("gnhpgvsdkyugddnkifumj", "krpdbqetvarfbwcczwa");
+]]>
+
+
+
+This sample shows how to call GetMessageAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.GetMessageAsync("wazfimispaosrwcw", "rntlkaswrsmq", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetMessageAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.GetMessageAsync("gnhpgvsdkyugddnkifumj", "krpdbqetvarfbwcczwa", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetMessage and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.GetMessage("wazfimispaosrwcw", "rntlkaswrsmq", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetMessage and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.GetMessage("gnhpgvsdkyugddnkifumj", "krpdbqetvarfbwcczwa", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateMessageAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.UpdateMessageAsync("sbdgvkmigm", "jjhbtcdqkx");
+]]>
+This sample shows how to call UpdateMessageAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = await client.UpdateMessageAsync("houmkok", "dac");
+]]>
+
+
+
+This sample shows how to call UpdateMessage.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.UpdateMessage("sbdgvkmigm", "jjhbtcdqkx");
+]]>
+This sample shows how to call UpdateMessage.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+Response response = client.UpdateMessage("houmkok", "dac");
+]]>
+
+
+
+This sample shows how to call UpdateMessageAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ metadata = new
+ {
+ key1225 = "spvnrxlujhmwk",
+ },
+});
+Response response = await client.UpdateMessageAsync("sbdgvkmigm", "jjhbtcdqkx", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call UpdateMessageAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = await client.UpdateMessageAsync("houmkok", "dac", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateMessage and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ metadata = new
+ {
+ key1225 = "spvnrxlujhmwk",
+ },
+});
+Response response = client.UpdateMessage("sbdgvkmigm", "jjhbtcdqkx", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call UpdateMessage and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = client.UpdateMessage("houmkok", "dac", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+Console.WriteLine(result.GetProperty("role").ToString());
+Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetMessagesAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+await foreach (PersistentThreadMessage item in client.GetMessagesAsync("rxigqqgnuzjqffpk"))
+{
+}
+]]>
+This sample shows how to call GetMessagesAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+await foreach (PersistentThreadMessage item in client.GetMessagesAsync("fzxnlymcyzxdahitxdeoqcn"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetMessages.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+foreach (PersistentThreadMessage item in client.GetMessages("rxigqqgnuzjqffpk"))
+{
+}
+]]>
+This sample shows how to call GetMessages.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+foreach (PersistentThreadMessage item in client.GetMessages("fzxnlymcyzxdahitxdeoqcn"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetMessagesAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+await foreach (BinaryData item in client.GetMessagesAsync("rxigqqgnuzjqffpk", "mtwpthaktboemc", 20, "asc", "prlgmgvf", "wbhklengvltnlzp", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+ Console.WriteLine(result.GetProperty("role").ToString());
+ Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetMessagesAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+await foreach (BinaryData item in client.GetMessagesAsync("fzxnlymcyzxdahitxdeoqcn", (string)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+ Console.WriteLine(result.GetProperty("role").ToString());
+ Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetMessages and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+foreach (BinaryData item in client.GetMessages("rxigqqgnuzjqffpk", "mtwpthaktboemc", 20, "asc", "prlgmgvf", "wbhklengvltnlzp", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+ Console.WriteLine(result.GetProperty("role").ToString());
+ Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetMessages and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadMessages client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadMessagesClient();
+
+foreach (BinaryData item in client.GetMessages("fzxnlymcyzxdahitxdeoqcn", (string)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_at").ToString());
+ Console.WriteLine(result.GetProperty("role").ToString());
+ Console.WriteLine(result.GetProperty("content")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("attachments")[0].GetProperty("tools")[0].ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadRunSteps.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadRunSteps.xml
new file mode 100644
index 000000000000..ce1bd6e21f1c
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadRunSteps.xml
@@ -0,0 +1,313 @@
+
+
+
+
+
+This sample shows how to call GetRunStepAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = await client.GetRunStepAsync("o", "gtmbdfovkwaxlpsn", "vbyblatygkybmhm");
+]]>
+This sample shows how to call GetRunStepAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = await client.GetRunStepAsync("vluit", "icivumwmgrcxgmpdzhtffb", "baweljsuxtvj");
+]]>
+
+
+
+This sample shows how to call GetRunStep.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = client.GetRunStep("o", "gtmbdfovkwaxlpsn", "vbyblatygkybmhm");
+]]>
+This sample shows how to call GetRunStep.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = client.GetRunStep("vluit", "icivumwmgrcxgmpdzhtffb", "baweljsuxtvj");
+]]>
+
+
+
+This sample shows how to call GetRunStepAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = await client.GetRunStepAsync("o", "gtmbdfovkwaxlpsn", "vbyblatygkybmhm", new RunAdditionalFieldList[] { RunAdditionalFieldList.FileSearchContents }, null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expired_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetRunStepAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = await client.GetRunStepAsync("vluit", "icivumwmgrcxgmpdzhtffb", "baweljsuxtvj", null, null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expired_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetRunStep and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = client.GetRunStep("o", "gtmbdfovkwaxlpsn", "vbyblatygkybmhm", new RunAdditionalFieldList[] { RunAdditionalFieldList.FileSearchContents }, null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expired_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetRunStep and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+Response response = client.GetRunStep("vluit", "icivumwmgrcxgmpdzhtffb", "baweljsuxtvj", null, null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("run_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expired_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetRunStepsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+await foreach (RunStep item in client.GetRunStepsAsync("gjhbhgfoqzdgbmhpfzowgndoykr", "rwmtddbxjqdscrdq"))
+{
+}
+]]>
+This sample shows how to call GetRunStepsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+await foreach (RunStep item in client.GetRunStepsAsync("tecrxeayzprgkvrmtsdxmnyq", "rx"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetRunSteps.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+foreach (RunStep item in client.GetRunSteps("gjhbhgfoqzdgbmhpfzowgndoykr", "rwmtddbxjqdscrdq"))
+{
+}
+]]>
+This sample shows how to call GetRunSteps.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+foreach (RunStep item in client.GetRunSteps("tecrxeayzprgkvrmtsdxmnyq", "rx"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetRunStepsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+await foreach (BinaryData item in client.GetRunStepsAsync("gjhbhgfoqzdgbmhpfzowgndoykr", "rwmtddbxjqdscrdq", new RunAdditionalFieldList[] { RunAdditionalFieldList.FileSearchContents }, 15, "asc", "ptxb", "dxecoccswnru", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("expired_at").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+ Console.WriteLine(result.GetProperty("failed_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetRunStepsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+await foreach (BinaryData item in client.GetRunStepsAsync("tecrxeayzprgkvrmtsdxmnyq", "rx", (IEnumerable)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("expired_at").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+ Console.WriteLine(result.GetProperty("failed_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetRunSteps and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+foreach (BinaryData item in client.GetRunSteps("gjhbhgfoqzdgbmhpfzowgndoykr", "rwmtddbxjqdscrdq", new RunAdditionalFieldList[] { RunAdditionalFieldList.FileSearchContents }, 15, "asc", "ptxb", "dxecoccswnru", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("expired_at").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+ Console.WriteLine(result.GetProperty("failed_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetRunSteps and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRunSteps client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunStepsClient();
+
+foreach (BinaryData item in client.GetRunSteps("tecrxeayzprgkvrmtsdxmnyq", "rx", (IEnumerable)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("run_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("step_details").GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("expired_at").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+ Console.WriteLine(result.GetProperty("failed_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadRuns.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadRuns.xml
new file mode 100644
index 000000000000..218031803df8
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/ThreadRuns.xml
@@ -0,0 +1,769 @@
+
+
+
+
+
+This sample shows how to call CreateRunAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.CreateRunAsync("hhkihlfdkkrjn", "jsgtmtrsdyptblawced");
+]]>
+
+
+
+This sample shows how to call CreateRun.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.CreateRun("hhkihlfdkkrjn", "jsgtmtrsdyptblawced");
+]]>
+
+
+
+This sample shows how to call CreateRunAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ assistant_id = "jsgtmtrsdyptblawced",
+ model = "yefdnxmqfpqutszahxptiqgatxohu",
+ instructions = "jdhepydeilwuqxwgxliiiekqdbt",
+ additional_instructions = "oyacdunpwfbtz",
+ additional_messages = new object[]
+ {
+ new
+ {
+ role = "user",
+ attachments = new object[]
+ {
+ new
+ {
+ file_id = "uslxhectlaptpkjcxnjzhkzprso",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ tools = Array.Empty
+
+
+
+This sample shows how to call CreateRun and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ assistant_id = "jsgtmtrsdyptblawced",
+ model = "yefdnxmqfpqutszahxptiqgatxohu",
+ instructions = "jdhepydeilwuqxwgxliiiekqdbt",
+ additional_instructions = "oyacdunpwfbtz",
+ additional_messages = new object[]
+ {
+ new
+ {
+ role = "user",
+ attachments = new object[]
+ {
+ new
+ {
+ file_id = "uslxhectlaptpkjcxnjzhkzprso",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ tools = Array.Empty(),
+ }
+ },
+ metadata = new
+ {
+ key3153 = "qn",
+ },
+ }
+ },
+ tools = Array.Empty(),
+ stream = true,
+ temperature = 8F,
+ top_p = 3F,
+ max_prompt_tokens = 21,
+ max_completion_tokens = 12,
+ truncation_strategy = new
+ {
+ type = "auto",
+ last_messages = 6,
+ },
+ parallel_tool_calls = true,
+ metadata = new
+ {
+ key5117 = "vfjqhklfxpyyojenxqnitzynwpqt",
+ },
+});
+Response response = client.CreateRun("hhkihlfdkkrjn", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call GetRunAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.GetRunAsync("sqccjmfw", "acsobiqvtzctqgmfilzbouk");
+]]>
+
+
+
+This sample shows how to call GetRun.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.GetRun("sqccjmfw", "acsobiqvtzctqgmfilzbouk");
+]]>
+
+
+
+This sample shows how to call GetRunAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.GetRunAsync("sqccjmfw", "acsobiqvtzctqgmfilzbouk", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call GetRun and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.GetRun("sqccjmfw", "acsobiqvtzctqgmfilzbouk", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateRunAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.UpdateRunAsync("wnookprnxkufoddul", "aifrevvhqlpbxsdkflwkzpdlyewggr");
+]]>
+
+
+
+This sample shows how to call UpdateRun.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.UpdateRun("wnookprnxkufoddul", "aifrevvhqlpbxsdkflwkzpdlyewggr");
+]]>
+
+
+
+This sample shows how to call UpdateRunAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ metadata = new
+ {
+ key5657 = "pzozpdyzydhspttzavjorh",
+ },
+});
+Response response = await client.UpdateRunAsync("wnookprnxkufoddul", "aifrevvhqlpbxsdkflwkzpdlyewggr", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateRun and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ metadata = new
+ {
+ key5657 = "pzozpdyzydhspttzavjorh",
+ },
+});
+Response response = client.UpdateRun("wnookprnxkufoddul", "aifrevvhqlpbxsdkflwkzpdlyewggr", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call SubmitToolOutputsToRunAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.SubmitToolOutputsToRunAsync("fponkaqg", "qt", new ToolOutput[]
+{
+ new ToolOutput
+ {
+ ToolCallId = "jccizgl",
+ Output = "tfpajqwuaghahhyzmn",
+ }
+});
+]]>
+
+
+
+This sample shows how to call SubmitToolOutputsToRun.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.SubmitToolOutputsToRun("fponkaqg", "qt", new ToolOutput[]
+{
+ new ToolOutput
+ {
+ ToolCallId = "jccizgl",
+ Output = "tfpajqwuaghahhyzmn",
+ }
+});
+]]>
+
+
+
+This sample shows how to call SubmitToolOutputsToRunAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ tool_outputs = new object[]
+ {
+ new
+ {
+ tool_call_id = "jccizgl",
+ output = "tfpajqwuaghahhyzmn",
+ }
+ },
+ stream = true,
+});
+Response response = await client.SubmitToolOutputsToRunAsync("fponkaqg", "qt", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call SubmitToolOutputsToRun and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ tool_outputs = new object[]
+ {
+ new
+ {
+ tool_call_id = "jccizgl",
+ output = "tfpajqwuaghahhyzmn",
+ }
+ },
+ stream = true,
+});
+Response response = client.SubmitToolOutputsToRun("fponkaqg", "qt", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call CancelRunAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.CancelRunAsync("cfgrrkaqlomzywojd", "dgpclan");
+]]>
+
+
+
+This sample shows how to call CancelRun.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.CancelRun("cfgrrkaqlomzywojd", "dgpclan");
+]]>
+
+
+
+This sample shows how to call CancelRunAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = await client.CancelRunAsync("cfgrrkaqlomzywojd", "dgpclan", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call CancelRun and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+Response response = client.CancelRun("cfgrrkaqlomzywojd", "dgpclan", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("thread_id").ToString());
+Console.WriteLine(result.GetProperty("assistant_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("model").ToString());
+Console.WriteLine(result.GetProperty("instructions").ToString());
+Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("expires_at").ToString());
+Console.WriteLine(result.GetProperty("started_at").ToString());
+Console.WriteLine(result.GetProperty("completed_at").ToString());
+Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+Console.WriteLine(result.GetProperty("failed_at").ToString());
+Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+Console.WriteLine(result.GetProperty("tool_choice").ToString());
+Console.WriteLine(result.GetProperty("response_format").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+]]>
+
+
+
+This sample shows how to call GetRunsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+await foreach (ThreadRun item in client.GetRunsAsync("luhcnx"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetRuns.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+foreach (ThreadRun item in client.GetRuns("luhcnx"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetRunsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+await foreach (BinaryData item in client.GetRunsAsync("luhcnx", 29, "asc", "lbxjqlfasgdfb", "ukgtkdgvuzzjlnjjdxotjvgw", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("model").ToString());
+ Console.WriteLine(result.GetProperty("instructions").ToString());
+ Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("expires_at").ToString());
+ Console.WriteLine(result.GetProperty("started_at").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+ Console.WriteLine(result.GetProperty("failed_at").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+ Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+ Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+ Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+ Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+ Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+ Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("tool_choice").ToString());
+ Console.WriteLine(result.GetProperty("response_format").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+ Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetRuns and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+ThreadRuns client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadRunsClient();
+
+foreach (BinaryData item in client.GetRuns("luhcnx", 29, "asc", "lbxjqlfasgdfb", "ukgtkdgvuzzjlnjjdxotjvgw", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("thread_id").ToString());
+ Console.WriteLine(result.GetProperty("assistant_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("model").ToString());
+ Console.WriteLine(result.GetProperty("instructions").ToString());
+ Console.WriteLine(result.GetProperty("tools")[0].GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("expires_at").ToString());
+ Console.WriteLine(result.GetProperty("started_at").ToString());
+ Console.WriteLine(result.GetProperty("completed_at").ToString());
+ Console.WriteLine(result.GetProperty("cancelled_at").ToString());
+ Console.WriteLine(result.GetProperty("failed_at").ToString());
+ Console.WriteLine(result.GetProperty("incomplete_details").GetProperty("reason").ToString());
+ Console.WriteLine(result.GetProperty("usage").GetProperty("completion_tokens").ToString());
+ Console.WriteLine(result.GetProperty("usage").GetProperty("prompt_tokens").ToString());
+ Console.WriteLine(result.GetProperty("usage").GetProperty("total_tokens").ToString());
+ Console.WriteLine(result.GetProperty("max_prompt_tokens").ToString());
+ Console.WriteLine(result.GetProperty("max_completion_tokens").ToString());
+ Console.WriteLine(result.GetProperty("truncation_strategy").GetProperty("type").ToString());
+ Console.WriteLine(result.GetProperty("tool_choice").ToString());
+ Console.WriteLine(result.GetProperty("response_format").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+ Console.WriteLine(result.GetProperty("parallel_tool_calls").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/Threads.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/Threads.xml
new file mode 100644
index 000000000000..2cc21ce7d0e7
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/Threads.xml
@@ -0,0 +1,917 @@
+
+
+
+
+
+This sample shows how to call CreateThreadAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.CreateThreadAsync();
+]]>
+
+
+
+This sample shows how to call CreateThread.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.CreateThread();
+]]>
+
+
+
+This sample shows how to call CreateThreadAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ messages = new object[]
+ {
+ new
+ {
+ role = "user",
+ attachments = new object[]
+ {
+ new
+ {
+ file_id = "uslxhectlaptpkjcxnjzhkzprso",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ tools = Array.Empty(),
+ }
+ },
+ metadata = new
+ {
+ key3153 = "qn",
+ },
+ }
+ },
+ tool_resources = new
+ {
+ code_interpreter = new
+ {
+ file_ids = new object[]
+ {
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul"
+ },
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ file_search = new
+ {
+ vector_store_ids = new object[]
+ {
+ "jkrrjfupyxehwacylflmx"
+ },
+ vector_stores = new object[]
+ {
+ new
+ {
+ name = "bftl",
+ configuration = new
+ {
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ }
+ },
+ },
+ azure_ai_search = new
+ {
+ indexes = new object[]
+ {
+ new
+ {
+ index_connection_id = "zkqk",
+ index_name = "yvxhjyiomlffkuboqokcojfd",
+ query_type = "simple",
+ top_k = 27,
+ filter = "jjbewpsjmygox",
+ index_asset_id = "iwfmzmxzh",
+ }
+ },
+ },
+ },
+ metadata = new
+ {
+ key3592 = "ceowgmecukwwpkdpcolnctahhocsk",
+ },
+});
+Response response = await client.CreateThreadAsync(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call CreateThread and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ messages = new object[]
+ {
+ new
+ {
+ role = "user",
+ attachments = new object[]
+ {
+ new
+ {
+ file_id = "uslxhectlaptpkjcxnjzhkzprso",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ tools = Array.Empty(),
+ }
+ },
+ metadata = new
+ {
+ key3153 = "qn",
+ },
+ }
+ },
+ tool_resources = new
+ {
+ code_interpreter = new
+ {
+ file_ids = new object[]
+ {
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul"
+ },
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ file_search = new
+ {
+ vector_store_ids = new object[]
+ {
+ "jkrrjfupyxehwacylflmx"
+ },
+ vector_stores = new object[]
+ {
+ new
+ {
+ name = "bftl",
+ configuration = new
+ {
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ }
+ },
+ },
+ azure_ai_search = new
+ {
+ indexes = new object[]
+ {
+ new
+ {
+ index_connection_id = "zkqk",
+ index_name = "yvxhjyiomlffkuboqokcojfd",
+ query_type = "simple",
+ top_k = 27,
+ filter = "jjbewpsjmygox",
+ index_asset_id = "iwfmzmxzh",
+ }
+ },
+ },
+ },
+ metadata = new
+ {
+ key3592 = "ceowgmecukwwpkdpcolnctahhocsk",
+ },
+});
+Response response = client.CreateThread(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetThreadAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.GetThreadAsync("hxzrocmui");
+]]>
+This sample shows how to call GetThreadAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.GetThreadAsync("rhseczbsktxawm");
+]]>
+
+
+
+This sample shows how to call GetThread.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.GetThread("hxzrocmui");
+]]>
+This sample shows how to call GetThread.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.GetThread("rhseczbsktxawm");
+]]>
+
+
+
+This sample shows how to call GetThreadAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.GetThreadAsync("hxzrocmui", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetThreadAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.GetThreadAsync("rhseczbsktxawm", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetThread and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.GetThread("hxzrocmui", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetThread and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.GetThread("rhseczbsktxawm", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateThreadAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.UpdateThreadAsync("rsiw");
+]]>
+This sample shows how to call UpdateThreadAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = await client.UpdateThreadAsync("rsiw");
+]]>
+
+
+
+This sample shows how to call UpdateThread.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.UpdateThread("rsiw");
+]]>
+This sample shows how to call UpdateThread.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+Response response = client.UpdateThread("rsiw");
+]]>
+
+
+
+This sample shows how to call UpdateThreadAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ tool_resources = new
+ {
+ code_interpreter = new
+ {
+ file_ids = new object[]
+ {
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul"
+ },
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ file_search = new
+ {
+ vector_store_ids = new object[]
+ {
+ "jkrrjfupyxehwacylflmx"
+ },
+ vector_stores = new object[]
+ {
+ new
+ {
+ name = "bftl",
+ configuration = new
+ {
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ }
+ },
+ },
+ azure_ai_search = new
+ {
+ indexes = new object[]
+ {
+ new
+ {
+ index_connection_id = "zkqk",
+ index_name = "yvxhjyiomlffkuboqokcojfd",
+ query_type = "simple",
+ top_k = 27,
+ filter = "jjbewpsjmygox",
+ index_asset_id = "iwfmzmxzh",
+ }
+ },
+ },
+ },
+ metadata = new
+ {
+ key519 = "wfrlgjrbfxnwuz",
+ },
+});
+Response response = await client.UpdateThreadAsync("rsiw", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call UpdateThreadAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = await client.UpdateThreadAsync("rsiw", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call UpdateThread and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ tool_resources = new
+ {
+ code_interpreter = new
+ {
+ file_ids = new object[]
+ {
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul",
+ "nfbbvmtttxtmwzmjtkzhgul"
+ },
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ file_search = new
+ {
+ vector_store_ids = new object[]
+ {
+ "jkrrjfupyxehwacylflmx"
+ },
+ vector_stores = new object[]
+ {
+ new
+ {
+ name = "bftl",
+ configuration = new
+ {
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ }
+ },
+ },
+ azure_ai_search = new
+ {
+ indexes = new object[]
+ {
+ new
+ {
+ index_connection_id = "zkqk",
+ index_name = "yvxhjyiomlffkuboqokcojfd",
+ query_type = "simple",
+ top_k = 27,
+ filter = "jjbewpsjmygox",
+ index_asset_id = "iwfmzmxzh",
+ }
+ },
+ },
+ },
+ metadata = new
+ {
+ key519 = "wfrlgjrbfxnwuz",
+ },
+});
+Response response = client.UpdateThread("rsiw", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call UpdateThread and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = client.UpdateThread("rsiw", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("tool_resources").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetThreadsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+await foreach (PersistentAgentThread item in client.GetThreadsAsync())
+{
+}
+]]>
+This sample shows how to call GetThreadsAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+await foreach (PersistentAgentThread item in client.GetThreadsAsync())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetThreads.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+foreach (PersistentAgentThread item in client.GetThreads())
+{
+}
+]]>
+This sample shows how to call GetThreads.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+foreach (PersistentAgentThread item in client.GetThreads())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetThreadsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+await foreach (BinaryData item in client.GetThreadsAsync(13, "asc", "qwsovpslduftmfinaxtskq", "ycnypgacaospvdmaffiwipymykd", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetThreadsAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+await foreach (BinaryData item in client.GetThreadsAsync((int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetThreads and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+foreach (BinaryData item in client.GetThreads(13, "asc", "qwsovpslduftmfinaxtskq", "ycnypgacaospvdmaffiwipymykd", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetThreads and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+Threads client = new PersistentAgentsAdministrationClient(endpoint, credential).GetThreadsClient();
+
+foreach (BinaryData item in client.GetThreads((int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("tool_resources").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStoreFileBatches.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStoreFileBatches.xml
new file mode 100644
index 000000000000..332c19e02c2a
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStoreFileBatches.xml
@@ -0,0 +1,4245 @@
+
+
+
+
+
+This sample shows how to call CreateVectorStoreFileBatchAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.CreateVectorStoreFileBatchAsync("bvcjtemrnqtycjuaerlxllednm");
+]]>
+This sample shows how to call CreateVectorStoreFileBatchAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.CreateVectorStoreFileBatchAsync("eyxdrn");
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreFileBatch.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.CreateVectorStoreFileBatch("bvcjtemrnqtycjuaerlxllednm");
+]]>
+This sample shows how to call CreateVectorStoreFileBatch.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.CreateVectorStoreFileBatch("eyxdrn");
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreFileBatchAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ file_ids = new object[]
+ {
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall"
+ },
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+});
+Response response = await client.CreateVectorStoreFileBatchAsync("bvcjtemrnqtycjuaerlxllednm", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+This sample shows how to call CreateVectorStoreFileBatchAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = await client.CreateVectorStoreFileBatchAsync("eyxdrn", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreFileBatch and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ file_ids = new object[]
+ {
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall",
+ "sseovtmhsfpghlqyzulhnhhhasall"
+ },
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+});
+Response response = client.CreateVectorStoreFileBatch("bvcjtemrnqtycjuaerlxllednm", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+This sample shows how to call CreateVectorStoreFileBatch and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = client.CreateVectorStoreFileBatch("eyxdrn", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatchAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.GetVectorStoreFileBatchAsync("kdcqszoqvfaipuhvijnwxmegovmeuv", "juytv");
+]]>
+This sample shows how to call GetVectorStoreFileBatchAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.GetVectorStoreFileBatchAsync("kz", "pmzxfueg");
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatch.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.GetVectorStoreFileBatch("kdcqszoqvfaipuhvijnwxmegovmeuv", "juytv");
+]]>
+This sample shows how to call GetVectorStoreFileBatch.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.GetVectorStoreFileBatch("kz", "pmzxfueg");
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatchAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.GetVectorStoreFileBatchAsync("kdcqszoqvfaipuhvijnwxmegovmeuv", "juytv", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+This sample shows how to call GetVectorStoreFileBatchAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.GetVectorStoreFileBatchAsync("kz", "pmzxfueg", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatch and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.GetVectorStoreFileBatch("kdcqszoqvfaipuhvijnwxmegovmeuv", "juytv", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+This sample shows how to call GetVectorStoreFileBatch and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.GetVectorStoreFileBatch("kz", "pmzxfueg", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+
+
+
+This sample shows how to call CancelVectorStoreFileBatchAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.CancelVectorStoreFileBatchAsync("kpjojtaxsspjvzyxmfgwxusqde", "lqtvimqtqecqy");
+]]>
+This sample shows how to call CancelVectorStoreFileBatchAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.CancelVectorStoreFileBatchAsync("fldyjeftzzkqinhz", "qsniwwejf");
+]]>
+
+
+
+This sample shows how to call CancelVectorStoreFileBatch.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.CancelVectorStoreFileBatch("kpjojtaxsspjvzyxmfgwxusqde", "lqtvimqtqecqy");
+]]>
+This sample shows how to call CancelVectorStoreFileBatch.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.CancelVectorStoreFileBatch("fldyjeftzzkqinhz", "qsniwwejf");
+]]>
+
+
+
+This sample shows how to call CancelVectorStoreFileBatchAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.CancelVectorStoreFileBatchAsync("kpjojtaxsspjvzyxmfgwxusqde", "lqtvimqtqecqy", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+This sample shows how to call CancelVectorStoreFileBatchAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = await client.CancelVectorStoreFileBatchAsync("fldyjeftzzkqinhz", "qsniwwejf", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+
+
+
+This sample shows how to call CancelVectorStoreFileBatch and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.CancelVectorStoreFileBatch("kpjojtaxsspjvzyxmfgwxusqde", "lqtvimqtqecqy", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+This sample shows how to call CancelVectorStoreFileBatch and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+Response response = client.CancelVectorStoreFileBatch("fldyjeftzzkqinhz", "qsniwwejf", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatchFilesAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+await foreach (VectorStoreFile item in client.GetVectorStoreFileBatchFilesAsync("itweqinnhpanpqxkxwqfi", "b"))
+{
+}
+]]>
+This sample shows how to call GetVectorStoreFileBatchFilesAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+await foreach (VectorStoreFile item in client.GetVectorStoreFileBatchFilesAsync("awzuqhqpzl", "gipykvmemjcss"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatchFiles.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+foreach (VectorStoreFile item in client.GetVectorStoreFileBatchFiles("itweqinnhpanpqxkxwqfi", "b"))
+{
+}
+]]>
+This sample shows how to call GetVectorStoreFileBatchFiles.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+foreach (VectorStoreFile item in client.GetVectorStoreFileBatchFiles("awzuqhqpzl", "gipykvmemjcss"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatchFilesAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+await foreach (BinaryData item in client.GetVectorStoreFileBatchFilesAsync("itweqinnhpanpqxkxwqfi", "b", "in_progress", 22, "asc", "uotopjkuhxuxypqooudmdt", "lunnzgjqyjlrlvsldrkhrjvaqfovp", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+This sample shows how to call GetVectorStoreFileBatchFilesAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+await foreach (BinaryData item in client.GetVectorStoreFileBatchFilesAsync("awzuqhqpzl", "gipykvmemjcss", (string)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileBatchFiles and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+foreach (BinaryData item in client.GetVectorStoreFileBatchFiles("itweqinnhpanpqxkxwqfi", "b", "in_progress", 22, "asc", "uotopjkuhxuxypqooudmdt", "lunnzgjqyjlrlvsldrkhrjvaqfovp", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+This sample shows how to call GetVectorStoreFileBatchFiles and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFileBatches client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFileBatchesClient();
+
+foreach (BinaryData item in client.GetVectorStoreFileBatchFiles("awzuqhqpzl", "gipykvmemjcss", (string)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStoreFiles.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStoreFiles.xml
new file mode 100644
index 000000000000..7ac0da1cc046
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStoreFiles.xml
@@ -0,0 +1,341 @@
+
+
+
+
+
+This sample shows how to call CreateVectorStoreFileAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = await client.CreateVectorStoreFileAsync("kox");
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreFile.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = client.CreateVectorStoreFile("kox");
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreFileAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ file_id = "emdzaopxo",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+});
+Response response = await client.CreateVectorStoreFileAsync("kox", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreFile and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ file_id = "emdzaopxo",
+ data_source = new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ },
+});
+Response response = client.CreateVectorStoreFile("kox", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = await client.GetVectorStoreFileAsync("bds", "qusinxkarhcskvxntuym");
+]]>
+This sample shows how to call GetVectorStoreFileAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = await client.GetVectorStoreFileAsync("fakyvuniwxszpqxxcovnohhacypzp", "sar");
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFile.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = client.GetVectorStoreFile("bds", "qusinxkarhcskvxntuym");
+]]>
+This sample shows how to call GetVectorStoreFile.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = client.GetVectorStoreFile("fakyvuniwxszpqxxcovnohhacypzp", "sar");
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFileAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = await client.GetVectorStoreFileAsync("bds", "qusinxkarhcskvxntuym", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+]]>
+This sample shows how to call GetVectorStoreFileAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = await client.GetVectorStoreFileAsync("fakyvuniwxszpqxxcovnohhacypzp", "sar", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFile and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = client.GetVectorStoreFile("bds", "qusinxkarhcskvxntuym", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+]]>
+This sample shows how to call GetVectorStoreFile and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+Response response = client.GetVectorStoreFile("fakyvuniwxszpqxxcovnohhacypzp", "sar", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFilesAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+await foreach (VectorStoreFile item in client.GetVectorStoreFilesAsync("nuppye"))
+{
+}
+]]>
+This sample shows how to call GetVectorStoreFilesAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+await foreach (VectorStoreFile item in client.GetVectorStoreFilesAsync("rijuypqar"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFiles.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+foreach (VectorStoreFile item in client.GetVectorStoreFiles("nuppye"))
+{
+}
+]]>
+This sample shows how to call GetVectorStoreFiles.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+foreach (VectorStoreFile item in client.GetVectorStoreFiles("rijuypqar"))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFilesAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+await foreach (BinaryData item in client.GetVectorStoreFilesAsync("nuppye", "in_progress", 8, "asc", "cayfrop", "rdxomcqockbejgfxd", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+This sample shows how to call GetVectorStoreFilesAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+await foreach (BinaryData item in client.GetVectorStoreFilesAsync("rijuypqar", (string)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoreFiles and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+foreach (BinaryData item in client.GetVectorStoreFiles("nuppye", "in_progress", 8, "asc", "cayfrop", "rdxomcqockbejgfxd", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+This sample shows how to call GetVectorStoreFiles and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStoreFiles client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoreFilesClient();
+
+foreach (BinaryData item in client.GetVectorStoreFiles("rijuypqar", (string)null, (int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("vector_store_id").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("last_error").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("chunking_strategy").GetProperty("type").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStores.xml b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStores.xml
new file mode 100644
index 000000000000..e1f718dbeccc
--- /dev/null
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/Docs/VectorStores.xml
@@ -0,0 +1,685 @@
+
+
+
+
+
+This sample shows how to call CreateVectorStoreAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.CreateVectorStoreAsync();
+]]>
+This sample shows how to call CreateVectorStoreAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.CreateVectorStoreAsync();
+]]>
+
+
+
+This sample shows how to call CreateVectorStore.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.CreateVectorStore();
+]]>
+This sample shows how to call CreateVectorStore.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.CreateVectorStore();
+]]>
+
+
+
+This sample shows how to call CreateVectorStoreAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ file_ids = new object[]
+ {
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt"
+ },
+ name = "u",
+ configuration = new
+ {
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ expires_after = new
+ {
+ anchor = "last_active_at",
+ days = 73,
+ },
+ metadata = new
+ {
+ key9029 = "ghicfhykvpyj",
+ },
+});
+Response response = await client.CreateVectorStoreAsync(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call CreateVectorStoreAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = await client.CreateVectorStoreAsync(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call CreateVectorStore and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ file_ids = new object[]
+ {
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt",
+ "hileejdmsljnblywbqgrycpbeczbt"
+ },
+ name = "u",
+ configuration = new
+ {
+ data_sources = new object[]
+ {
+ new
+ {
+ uri = "soctjzrqyjyxixlqr",
+ type = "uri_asset",
+ }
+ },
+ },
+ expires_after = new
+ {
+ anchor = "last_active_at",
+ days = 73,
+ },
+ metadata = new
+ {
+ key9029 = "ghicfhykvpyj",
+ },
+});
+Response response = client.CreateVectorStore(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call CreateVectorStore and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = client.CreateVectorStore(content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoreAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.GetVectorStoreAsync("vjsfufonwjwzvygdq");
+]]>
+This sample shows how to call GetVectorStoreAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.GetVectorStoreAsync("jhrejmwmyblsdagsx");
+]]>
+
+
+
+This sample shows how to call GetVectorStore.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.GetVectorStore("vjsfufonwjwzvygdq");
+]]>
+This sample shows how to call GetVectorStore.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.GetVectorStore("jhrejmwmyblsdagsx");
+]]>
+
+
+
+This sample shows how to call GetVectorStoreAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.GetVectorStoreAsync("vjsfufonwjwzvygdq", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetVectorStoreAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.GetVectorStoreAsync("jhrejmwmyblsdagsx", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStore and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.GetVectorStore("vjsfufonwjwzvygdq", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call GetVectorStore and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.GetVectorStore("jhrejmwmyblsdagsx", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call ModifyVectorStoreAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.ModifyVectorStoreAsync("pqhrqxzleymrjogjppdtlmxlsfculn");
+]]>
+This sample shows how to call ModifyVectorStoreAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = await client.ModifyVectorStoreAsync("jlamdmhxwayxxeiexcyulxcocw");
+]]>
+
+
+
+This sample shows how to call ModifyVectorStore.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.ModifyVectorStore("pqhrqxzleymrjogjppdtlmxlsfculn");
+]]>
+This sample shows how to call ModifyVectorStore.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+Response response = client.ModifyVectorStore("jlamdmhxwayxxeiexcyulxcocw");
+]]>
+
+
+
+This sample shows how to call ModifyVectorStoreAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ name = "jcrzfsgxsgelufbkjidfvnu",
+ expires_after = new
+ {
+ anchor = "last_active_at",
+ days = 73,
+ },
+ metadata = new
+ {
+ key9792 = "cxmmdtwupsjnjixdoaravhbkrqqqm",
+ },
+});
+Response response = await client.ModifyVectorStoreAsync("pqhrqxzleymrjogjppdtlmxlsfculn", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call ModifyVectorStoreAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = await client.ModifyVectorStoreAsync("jlamdmhxwayxxeiexcyulxcocw", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call ModifyVectorStore and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new
+{
+ name = "jcrzfsgxsgelufbkjidfvnu",
+ expires_after = new
+ {
+ anchor = "last_active_at",
+ days = 73,
+ },
+ metadata = new
+ {
+ key9792 = "cxmmdtwupsjnjixdoaravhbkrqqqm",
+ },
+});
+Response response = client.ModifyVectorStore("pqhrqxzleymrjogjppdtlmxlsfculn", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+This sample shows how to call ModifyVectorStore and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+using RequestContent content = RequestContent.Create(new object());
+Response response = client.ModifyVectorStore("jlamdmhxwayxxeiexcyulxcocw", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("id").ToString());
+Console.WriteLine(result.GetProperty("object").ToString());
+Console.WriteLine(result.GetProperty("created_at").ToString());
+Console.WriteLine(result.GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("last_active_at").ToString());
+Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+]]>
+
+
+
+This sample shows how to call GetVectorStoresAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+await foreach (PersistentAgentsVectorStore item in client.GetVectorStoresAsync())
+{
+}
+]]>
+This sample shows how to call GetVectorStoresAsync.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+await foreach (PersistentAgentsVectorStore item in client.GetVectorStoresAsync())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStores.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+foreach (PersistentAgentsVectorStore item in client.GetVectorStores())
+{
+}
+]]>
+This sample shows how to call GetVectorStores.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+foreach (PersistentAgentsVectorStore item in client.GetVectorStores())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStoresAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+await foreach (BinaryData item in client.GetVectorStoresAsync(20, "asc", "cfgbzxzpyyflnolbxpkbsz", "forspimiuzzd", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_active_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetVectorStoresAsync and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+await foreach (BinaryData item in client.GetVectorStoresAsync((int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_active_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetVectorStores and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+foreach (BinaryData item in client.GetVectorStores(20, "asc", "cfgbzxzpyyflnolbxpkbsz", "forspimiuzzd", (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_active_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+This sample shows how to call GetVectorStores and parse the result.
+");
+TokenCredential credential = new DefaultAzureCredential();
+VectorStores client = new PersistentAgentsAdministrationClient(endpoint, credential).GetVectorStoresClient();
+
+foreach (BinaryData item in client.GetVectorStores((int?)null, (string)null, (string)null, (string)null, (RequestContext)null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("id").ToString());
+ Console.WriteLine(result.GetProperty("object").ToString());
+ Console.WriteLine(result.GetProperty("created_at").ToString());
+ Console.WriteLine(result.GetProperty("name").ToString());
+ Console.WriteLine(result.GetProperty("usage_bytes").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("in_progress").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("completed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("failed").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("cancelled").ToString());
+ Console.WriteLine(result.GetProperty("file_counts").GetProperty("total").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("last_active_at").ToString());
+ Console.WriteLine(result.GetProperty("metadata").GetProperty("").ToString());
+}
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/File.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/File.Serialization.cs
deleted file mode 100644
index 3e84b77f907b..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/File.Serialization.cs
+++ /dev/null
@@ -1,164 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- internal partial class File : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(File)} does not support writing '{format}' format.");
- }
-
- if (Optional.IsDefined(ContentType))
- {
- writer.WritePropertyName("contentType"u8);
- writer.WriteStringValue(ContentType);
- }
- if (Optional.IsDefined(Filename))
- {
- writer.WritePropertyName("filename"u8);
- writer.WriteStringValue(Filename);
- }
- writer.WritePropertyName("contents"u8);
- writer.WriteBase64StringValue(Contents.ToArray(), "D");
- if (options.Format != "W" && _serializedAdditionalRawData != null)
- {
- foreach (var item in _serializedAdditionalRawData)
- {
- writer.WritePropertyName(item.Key);
-#if NET6_0_OR_GREATER
- writer.WriteRawValue(item.Value);
-#else
- using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
- {
- JsonSerializer.Serialize(writer, document.RootElement);
- }
-#endif
- }
- }
- }
-
- File IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(File)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeFile(document.RootElement, options);
- }
-
- internal static File DeserializeFile(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- string contentType = default;
- string filename = default;
- BinaryData contents = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("contentType"u8))
- {
- contentType = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("filename"u8))
- {
- filename = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("contents"u8))
- {
- contents = BinaryData.FromBytes(property.Value.GetBytesFromBase64("D"));
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new File(contentType, filename, contents, serializedAdditionalRawData);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(File)} does not support writing '{options.Format}' format.");
- }
- }
-
- File IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeFile(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(File)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static File FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeFile(document.RootElement);
- }
-
- /// Convert into a .
- internal virtual RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/File.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/File.cs
deleted file mode 100644
index fe6fa90e5f73..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/File.cs
+++ /dev/null
@@ -1,184 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- ///
- /// A file in an HTTP request, response, or multipart payload.
- ///
- /// Files have a special meaning that the HTTP library understands. When the body of an HTTP request, response,
- /// or multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the
- /// operation is treated as a file upload or download.
- ///
- /// When using file bodies, the fields of the file model are defined to come from particular locations by default:
- ///
- /// - `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or changed).
- /// - `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed).
- /// - `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload
- /// (MAY be overridden or changed).
- ///
- /// A File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit
- /// `Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON payload,
- /// it will have a structure like:
- ///
- /// ```
- /// {
- /// "contentType": <string?>,
- /// "filename": <string?>,
- /// "contents": <string, base64>
- /// }
- /// ```
- ///
- /// The `contentType` _within_ the file defines what media types the data inside the file can be, but if the specification
- /// defines a `Content-Type` for the payload as HTTP metadata, that `Content-Type` metadata defines _how the file is
- /// serialized_. See the examples below for more information.
- ///
- /// NOTE: The `filename` and `contentType` fields are optional. Furthermore, the default location of `filename`
- /// (`Content-Disposition: <disposition>; filename=<filename>`) is only valid in HTTP responses and multipart payloads. If
- /// you wish to send the `filename` in a request, you must use HTTP metadata decorators to describe the location of the
- /// `filename` field. You can combine the metadata decorators with `@visibility` to control when the `filename` location
- /// is overridden, as shown in the examples below.
- ///
- internal partial class File
- {
- ///
- /// Keeps track of any properties unknown to the library.
- ///
- /// To assign an object to the value of this property use .
- ///
- ///
- /// To assign an already formatted json string to this property use .
- ///
- ///
- /// Examples:
- ///
- /// -
- /// BinaryData.FromObjectAsJson("foo")
- /// Creates a payload of "foo".
- ///
- /// -
- /// BinaryData.FromString("\"foo\"")
- /// Creates a payload of "foo".
- ///
- /// -
- /// BinaryData.FromObjectAsJson(new { key = "value" })
- /// Creates a payload of { "key": "value" }.
- ///
- /// -
- /// BinaryData.FromString("{\"key\": \"value\"}")
- /// Creates a payload of { "key": "value" }.
- ///
- ///
- ///
- ///
- private IDictionary _serializedAdditionalRawData;
-
- /// Initializes a new instance of .
- ///
- /// The contents of the file.
- ///
- /// In file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,
- /// this value is serialized as a field in the response.
- ///
- /// is null.
- public File(BinaryData contents)
- {
- Argument.AssertNotNull(contents, nameof(contents));
-
- Contents = contents;
- }
-
- /// Initializes a new instance of .
- ///
- /// The allowed media (MIME) types of the file contents.
- ///
- /// In file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,
- /// this value is serialized as a field in the response.
- ///
- /// NOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but
- /// it will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the
- /// _contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.
- ///
- ///
- /// The name of the file, if any.
- ///
- /// In file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response
- /// or multipart payload. In JSON bodies, this value is serialized as a field in the response.
- ///
- /// NOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart
- /// payloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,
- /// you must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata
- /// decorators.
- ///
- ///
- /// The contents of the file.
- ///
- /// In file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,
- /// this value is serialized as a field in the response.
- ///
- /// Keeps track of any properties unknown to the library.
- internal File(string contentType, string filename, BinaryData contents, IDictionary serializedAdditionalRawData)
- {
- ContentType = contentType;
- Filename = filename;
- Contents = contents;
- _serializedAdditionalRawData = serializedAdditionalRawData;
- }
-
- /// Initializes a new instance of for deserialization.
- internal File()
- {
- }
-
- ///
- /// The allowed media (MIME) types of the file contents.
- ///
- /// In file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,
- /// this value is serialized as a field in the response.
- ///
- /// NOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but
- /// it will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the
- /// _contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.
- ///
- public string ContentType { get; set; }
- ///
- /// The name of the file, if any.
- ///
- /// In file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response
- /// or multipart payload. In JSON bodies, this value is serialized as a field in the response.
- ///
- /// NOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart
- /// payloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,
- /// you must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata
- /// decorators.
- ///
- public string Filename { get; set; }
- ///
- /// The contents of the file.
- ///
- /// In file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,
- /// this value is serialized as a field in the response.
- ///
- /// To assign a byte[] to this property use .
- /// The byte[] will be serialized to a Base64 encoded string.
- ///
- ///
- /// Examples:
- ///
- /// -
- /// BinaryData.FromBytes(new byte[] { 1, 2, 3 })
- /// Creates a payload of "AQID".
- ///
- ///
- ///
- ///
- public BinaryData Contents { get; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs
deleted file mode 100644
index a10840a450ee..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/MicrosoftFabricToolDefinition.Serialization.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class MicrosoftFabricToolDefinition : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(MicrosoftFabricToolDefinition)} does not support writing '{format}' format.");
- }
-
- base.JsonModelWriteCore(writer, options);
- writer.WritePropertyName("fabric_dataagent"u8);
- writer.WriteObjectValue(FabricDataagent, options);
- }
-
- MicrosoftFabricToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(MicrosoftFabricToolDefinition)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeMicrosoftFabricToolDefinition(document.RootElement, options);
- }
-
- internal static MicrosoftFabricToolDefinition DeserializeMicrosoftFabricToolDefinition(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- ToolConnectionList fabricDataagent = default;
- string type = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("fabric_dataagent"u8))
- {
- fabricDataagent = ToolConnectionList.DeserializeToolConnectionList(property.Value, options);
- continue;
- }
- if (property.NameEquals("type"u8))
- {
- type = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new MicrosoftFabricToolDefinition(type, serializedAdditionalRawData, fabricDataagent);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(MicrosoftFabricToolDefinition)} does not support writing '{options.Format}' format.");
- }
- }
-
- MicrosoftFabricToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeMicrosoftFabricToolDefinition(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(MicrosoftFabricToolDefinition)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static new MicrosoftFabricToolDefinition FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeMicrosoftFabricToolDefinition(document.RootElement);
- }
-
- /// Convert into a .
- internal override RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/MicrosoftFabricToolDefinition.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/MicrosoftFabricToolDefinition.cs
deleted file mode 100644
index 2cddbbe72198..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/MicrosoftFabricToolDefinition.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- /// The input definition information for a Microsoft Fabric tool as used to configure an agent.
- 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 fabricDataagent)
- {
- Argument.AssertNotNull(fabricDataagent, nameof(fabricDataagent));
-
- Type = "fabric_dataagent";
- FabricDataagent = fabricDataagent;
- }
-
- /// 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 fabricDataagent) : base(type, serializedAdditionalRawData)
- {
- FabricDataagent = fabricDataagent;
- }
-
- /// Initializes a new instance of for deserialization.
- internal MicrosoftFabricToolDefinition()
- {
- }
-
- /// The list of connections used by the Microsoft Fabric tool.
- public ToolConnectionList FabricDataagent { get; set; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgent.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgent.cs
index 027c8084d20e..525d7fa2d10c 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgent.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgent.cs
@@ -56,7 +56,7 @@ public partial class PersistentAgent
///
/// 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 PersistentAgent(string id, DateTimeOffset createdAt, string name, strin
///
/// 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 PersistentAgent()
///
/// 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.Agents.Persistent/src/Generated/PersistentAgentsAdministrationClient.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsAdministrationClient.cs
index 88510f528c09..00fb7b267dfa 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsAdministrationClient.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsAdministrationClient.cs
@@ -84,6 +84,7 @@ public PersistentAgentsAdministrationClient(Uri endpoint, TokenCredential creden
/// A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.
/// The cancellation token to use.
/// is null.
+ ///
public virtual async Task> CreateAgentAsync(string model, string name = null, string description = null, string instructions = null, IEnumerable tools = null, ToolResources toolResources = null, float? temperature = null, float? topP = null, BinaryData responseFormat = null, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(model, nameof(model));
@@ -129,6 +130,7 @@ public virtual async Task> CreateAgentAsync(string mod
/// A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.
/// The cancellation token to use.
/// is null.
+ ///
public virtual Response CreateAgent(string model, string name = null, string description = null, string instructions = null, IEnumerable tools = null, ToolResources toolResources = null, float? temperature = null, float? topP = null, BinaryData responseFormat = null, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(model, nameof(model));
@@ -170,6 +172,7 @@ public virtual Response CreateAgent(string model, string name =
/// is null.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task CreateAgentAsync(RequestContent content, RequestContext context = null)
{
Argument.AssertNotNull(content, nameof(content));
@@ -208,6 +211,7 @@ public virtual async Task CreateAgentAsync(RequestContent content, Req
/// is null.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response CreateAgent(RequestContent content, RequestContext context = null)
{
Argument.AssertNotNull(content, nameof(content));
@@ -231,6 +235,7 @@ public virtual Response CreateAgent(RequestContent content, RequestContext conte
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> GetAgentAsync(string assistantId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId));
@@ -245,6 +250,7 @@ public virtual async Task> GetAgentAsync(string assist
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual Response GetAgent(string assistantId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId));
@@ -280,6 +286,7 @@ public virtual Response GetAgent(string assistantId, Cancellati
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> UpdateAgentAsync(string assistantId, string model = null, string name = null, string description = null, string instructions = null, IEnumerable tools = null, ToolResources toolResources = null, float? temperature = null, float? topP = null, BinaryData responseFormat = null, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId));
@@ -327,6 +334,7 @@ public virtual async Task> UpdateAgentAsync(string ass
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual Response UpdateAgent(string assistantId, string model = null, string name = null, string description = null, string instructions = null, IEnumerable tools = null, ToolResources toolResources = null, float? temperature = null, float? topP = null, BinaryData responseFormat = null, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId));
@@ -370,6 +378,7 @@ public virtual Response UpdateAgent(string assistantId, string
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task UpdateAgentAsync(string assistantId, RequestContent content, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId));
@@ -411,6 +420,7 @@ public virtual async Task UpdateAgentAsync(string assistantId, Request
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response UpdateAgent(string assistantId, RequestContent content, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId));
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsFiles.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsFiles.cs
index 533bfd42c4eb..8d07d551610f 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsFiles.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsFiles.cs
@@ -328,6 +328,7 @@ internal virtual Response InternalDeleteFile(string fileId, RequestContext conte
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> GetFileAsync(string fileId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -342,6 +343,7 @@ public virtual async Task> GetFileAsync(string
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual Response GetFile(string fileId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -372,6 +374,7 @@ public virtual Response GetFile(string fileId, Cancella
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task GetFileAsync(string fileId, RequestContext context)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -411,6 +414,7 @@ public virtual async Task GetFileAsync(string fileId, RequestContext c
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response GetFile(string fileId, RequestContext context)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -434,6 +438,7 @@ public virtual Response GetFile(string fileId, RequestContext context)
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> GetFileContentAsync(string fileId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -448,6 +453,7 @@ public virtual async Task> GetFileContentAsync(string fileI
/// The cancellation token to use.
/// is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual Response GetFileContent(string fileId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -478,6 +484,7 @@ public virtual Response GetFileContent(string fileId, CancellationTo
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task GetFileContentAsync(string fileId, RequestContext context)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
@@ -517,6 +524,7 @@ public virtual async Task GetFileContentAsync(string fileId, RequestCo
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response GetFileContent(string fileId, RequestContext context)
{
Argument.AssertNotNullOrEmpty(fileId, nameof(fileId));
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsModelFactory.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsModelFactory.cs
index 23056c4354aa..ccf262892d8e 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsModelFactory.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsModelFactory.cs
@@ -197,7 +197,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)
@@ -304,39 +304,6 @@ public static RunStepAzureAISearchToolCall RunStepAzureAISearchToolCall(string i
return new RunStepAzureAISearchToolCall("azure_ai_search", id, serializedAdditionalRawData: null, azureAISearch);
}
- /// Initializes a new instance of .
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Reserved for future use.
- /// A new instance for mocking.
- public static RunStepSharepointToolCall RunStepSharepointToolCall(string id = null, IReadOnlyDictionary sharePoint = null)
- {
- sharePoint ??= new Dictionary();
-
- return new RunStepSharepointToolCall("sharepoint_grounding", id, serializedAdditionalRawData: null, sharePoint);
- }
-
- /// Initializes a new instance of .
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Reserved for future use.
- /// A new instance for mocking.
- public static RunStepMicrosoftFabricToolCall RunStepMicrosoftFabricToolCall(string id = null, IReadOnlyDictionary microsoftFabric = null)
- {
- microsoftFabric ??= new Dictionary();
-
- return new RunStepMicrosoftFabricToolCall("fabric_dataagent", id, serializedAdditionalRawData: null, microsoftFabric);
- }
-
- /// Initializes a new instance of .
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Reserved for future use.
- /// A new instance for mocking.
- public static RunStepBingCustomSearchToolCall RunStepBingCustomSearchToolCall(string id = null, IReadOnlyDictionary bingCustomSearch = null)
- {
- bingCustomSearch ??= new Dictionary();
-
- return new RunStepBingCustomSearchToolCall("bing_custom_search", id, serializedAdditionalRawData: null, bingCustomSearch);
- }
-
/// Initializes a new instance of .
/// The ID of the tool call. This ID must be referenced when you submit tool outputs.
/// Reserved for future use.
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsNamedToolChoiceType.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsNamedToolChoiceType.cs
index 5abd0fa864fd..98fc2b8551af 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsNamedToolChoiceType.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/PersistentAgentsNamedToolChoiceType.cs
@@ -25,9 +25,6 @@ public PersistentAgentsNamedToolChoiceType(string value)
private const string FunctionValue = "function";
private const string CodeInterpreterValue = "code_interpreter";
private const string FileSearchValue = "file_search";
- private const string BingGroundingValue = "bing_grounding";
- private const string MicrosoftFabricValue = "fabric_dataagent";
- private const string SharepointValue = "sharepoint_grounding";
private const string AzureAISearchValue = "azure_ai_search";
private const string BingCustomSearchValue = "bing_custom_search";
private const string ConnectedAgentValue = "connected_agent";
@@ -38,12 +35,6 @@ public PersistentAgentsNamedToolChoiceType(string value)
public static PersistentAgentsNamedToolChoiceType CodeInterpreter { get; } = new PersistentAgentsNamedToolChoiceType(CodeInterpreterValue);
/// Tool type `file_search`.
public static PersistentAgentsNamedToolChoiceType FileSearch { get; } = new PersistentAgentsNamedToolChoiceType(FileSearchValue);
- /// Tool type `bing_grounding`.
- public static PersistentAgentsNamedToolChoiceType BingGrounding { get; } = new PersistentAgentsNamedToolChoiceType(BingGroundingValue);
- /// Tool type `fabric_dataagent`.
- public static PersistentAgentsNamedToolChoiceType MicrosoftFabric { get; } = new PersistentAgentsNamedToolChoiceType(MicrosoftFabricValue);
- /// Tool type `sharepoint_grounding`.
- public static PersistentAgentsNamedToolChoiceType Sharepoint { get; } = new PersistentAgentsNamedToolChoiceType(SharepointValue);
/// Tool type `azure_ai_search`.
public static PersistentAgentsNamedToolChoiceType AzureAISearch { get; } = new PersistentAgentsNamedToolChoiceType(AzureAISearchValue);
/// Tool type `bing_custom_search`.
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepBingCustomSearchToolCall.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepBingCustomSearchToolCall.Serialization.cs
deleted file mode 100644
index a9919d4bfecf..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepBingCustomSearchToolCall.Serialization.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class RunStepBingCustomSearchToolCall : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(RunStepBingCustomSearchToolCall)} does not support writing '{format}' format.");
- }
-
- base.JsonModelWriteCore(writer, options);
- writer.WritePropertyName("bing_custom_search"u8);
- writer.WriteStartObject();
- foreach (var item in BingCustomSearch)
- {
- writer.WritePropertyName(item.Key);
- writer.WriteStringValue(item.Value);
- }
- writer.WriteEndObject();
- }
-
- RunStepBingCustomSearchToolCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(RunStepBingCustomSearchToolCall)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeRunStepBingCustomSearchToolCall(document.RootElement, options);
- }
-
- internal static RunStepBingCustomSearchToolCall DeserializeRunStepBingCustomSearchToolCall(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- IReadOnlyDictionary bingCustomSearch = default;
- string type = default;
- string id = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("bing_custom_search"u8))
- {
- Dictionary dictionary = new Dictionary();
- foreach (var property0 in property.Value.EnumerateObject())
- {
- dictionary.Add(property0.Name, property0.Value.GetString());
- }
- bingCustomSearch = dictionary;
- continue;
- }
- if (property.NameEquals("type"u8))
- {
- type = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("id"u8))
- {
- id = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new RunStepBingCustomSearchToolCall(type, id, serializedAdditionalRawData, bingCustomSearch);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(RunStepBingCustomSearchToolCall)} does not support writing '{options.Format}' format.");
- }
- }
-
- RunStepBingCustomSearchToolCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeRunStepBingCustomSearchToolCall(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(RunStepBingCustomSearchToolCall)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static new RunStepBingCustomSearchToolCall FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeRunStepBingCustomSearchToolCall(document.RootElement);
- }
-
- /// Convert into a .
- internal override RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepBingCustomSearchToolCall.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepBingCustomSearchToolCall.cs
deleted file mode 100644
index 7c628d9d04a6..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepBingCustomSearchToolCall.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- ///
- /// A record of a call to a bing custom search tool, issued by the model in evaluation of a defined tool, that represents
- /// executed search with bing custom search.
- ///
- public partial class RunStepBingCustomSearchToolCall : RunStepToolCall
- {
- /// Initializes a new instance of .
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Reserved for future use.
- /// or is null.
- internal RunStepBingCustomSearchToolCall(string id, IReadOnlyDictionary bingCustomSearch) : base(id)
- {
- Argument.AssertNotNull(id, nameof(id));
- Argument.AssertNotNull(bingCustomSearch, nameof(bingCustomSearch));
-
- Type = "bing_custom_search";
- BingCustomSearch = bingCustomSearch;
- }
-
- /// Initializes a new instance of .
- /// The object type.
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Keeps track of any properties unknown to the library.
- /// Reserved for future use.
- internal RunStepBingCustomSearchToolCall(string type, string id, IDictionary serializedAdditionalRawData, IReadOnlyDictionary bingCustomSearch) : base(type, id, serializedAdditionalRawData)
- {
- BingCustomSearch = bingCustomSearch;
- }
-
- /// Initializes a new instance of for deserialization.
- internal RunStepBingCustomSearchToolCall()
- {
- }
-
- /// Reserved for future use.
- public IReadOnlyDictionary BingCustomSearch { get; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs
deleted file mode 100644
index 8bce669c0034..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepMicrosoftFabricToolCall.Serialization.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class RunStepMicrosoftFabricToolCall : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(RunStepMicrosoftFabricToolCall)} does not support writing '{format}' format.");
- }
-
- base.JsonModelWriteCore(writer, options);
- writer.WritePropertyName("fabric_dataagent"u8);
- writer.WriteStartObject();
- foreach (var item in MicrosoftFabric)
- {
- writer.WritePropertyName(item.Key);
- writer.WriteStringValue(item.Value);
- }
- writer.WriteEndObject();
- }
-
- RunStepMicrosoftFabricToolCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(RunStepMicrosoftFabricToolCall)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeRunStepMicrosoftFabricToolCall(document.RootElement, options);
- }
-
- internal static RunStepMicrosoftFabricToolCall DeserializeRunStepMicrosoftFabricToolCall(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- IReadOnlyDictionary fabricDataagent = default;
- string type = default;
- string id = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("fabric_dataagent"u8))
- {
- Dictionary dictionary = new Dictionary();
- foreach (var property0 in property.Value.EnumerateObject())
- {
- dictionary.Add(property0.Name, property0.Value.GetString());
- }
- fabricDataagent = dictionary;
- continue;
- }
- if (property.NameEquals("type"u8))
- {
- type = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("id"u8))
- {
- id = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new RunStepMicrosoftFabricToolCall(type, id, serializedAdditionalRawData, fabricDataagent);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(RunStepMicrosoftFabricToolCall)} does not support writing '{options.Format}' format.");
- }
- }
-
- RunStepMicrosoftFabricToolCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeRunStepMicrosoftFabricToolCall(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(RunStepMicrosoftFabricToolCall)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static new RunStepMicrosoftFabricToolCall FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeRunStepMicrosoftFabricToolCall(document.RootElement);
- }
-
- /// Convert into a .
- internal override RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepMicrosoftFabricToolCall.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepMicrosoftFabricToolCall.cs
deleted file mode 100644
index a78260a4ae24..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepMicrosoftFabricToolCall.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- ///
- /// A record of a call to a Microsoft Fabric tool, issued by the model in evaluation of a defined tool, that represents
- /// executed Microsoft Fabric operations.
- ///
- public partial class RunStepMicrosoftFabricToolCall : RunStepToolCall
- {
- /// Initializes a new instance of .
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Reserved for future use.
- /// or is null.
- internal RunStepMicrosoftFabricToolCall(string id, IReadOnlyDictionary microsoftFabric) : base(id)
- {
- Argument.AssertNotNull(id, nameof(id));
- Argument.AssertNotNull(microsoftFabric, nameof(microsoftFabric));
-
- Type = "fabric_dataagent";
- MicrosoftFabric = microsoftFabric;
- }
-
- /// Initializes a new instance of .
- /// The object type.
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Keeps track of any properties unknown to the library.
- /// Reserved for future use.
- internal RunStepMicrosoftFabricToolCall(string type, string id, IDictionary serializedAdditionalRawData, IReadOnlyDictionary microsoftFabric) : base(type, id, serializedAdditionalRawData)
- {
- MicrosoftFabric = microsoftFabric;
- }
-
- /// Initializes a new instance of for deserialization.
- internal RunStepMicrosoftFabricToolCall()
- {
- }
-
- /// Reserved for future use.
- public IReadOnlyDictionary MicrosoftFabric { get; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepSharepointToolCall.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepSharepointToolCall.Serialization.cs
deleted file mode 100644
index aa1aaf4b6af4..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepSharepointToolCall.Serialization.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class RunStepSharepointToolCall : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(RunStepSharepointToolCall)} does not support writing '{format}' format.");
- }
-
- base.JsonModelWriteCore(writer, options);
- writer.WritePropertyName("sharepoint_grounding"u8);
- writer.WriteStartObject();
- foreach (var item in SharePoint)
- {
- writer.WritePropertyName(item.Key);
- writer.WriteStringValue(item.Value);
- }
- writer.WriteEndObject();
- }
-
- RunStepSharepointToolCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(RunStepSharepointToolCall)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeRunStepSharepointToolCall(document.RootElement, options);
- }
-
- internal static RunStepSharepointToolCall DeserializeRunStepSharepointToolCall(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- IReadOnlyDictionary sharepointGrounding = default;
- string type = default;
- string id = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("sharepoint_grounding"u8))
- {
- Dictionary dictionary = new Dictionary();
- foreach (var property0 in property.Value.EnumerateObject())
- {
- dictionary.Add(property0.Name, property0.Value.GetString());
- }
- sharepointGrounding = dictionary;
- continue;
- }
- if (property.NameEquals("type"u8))
- {
- type = property.Value.GetString();
- continue;
- }
- if (property.NameEquals("id"u8))
- {
- id = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new RunStepSharepointToolCall(type, id, serializedAdditionalRawData, sharepointGrounding);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(RunStepSharepointToolCall)} does not support writing '{options.Format}' format.");
- }
- }
-
- RunStepSharepointToolCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeRunStepSharepointToolCall(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(RunStepSharepointToolCall)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static new RunStepSharepointToolCall FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeRunStepSharepointToolCall(document.RootElement);
- }
-
- /// Convert into a .
- internal override RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepSharepointToolCall.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepSharepointToolCall.cs
deleted file mode 100644
index 43a2c6932b4b..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepSharepointToolCall.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- ///
- /// A record of a call to a SharePoint tool, issued by the model in evaluation of a defined tool, that represents
- /// executed SharePoint actions.
- ///
- public partial class RunStepSharepointToolCall : RunStepToolCall
- {
- /// Initializes a new instance of .
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Reserved for future use.
- /// or is null.
- internal RunStepSharepointToolCall(string id, IReadOnlyDictionary sharePoint) : base(id)
- {
- Argument.AssertNotNull(id, nameof(id));
- Argument.AssertNotNull(sharePoint, nameof(sharePoint));
-
- Type = "sharepoint_grounding";
- SharePoint = sharePoint;
- }
-
- /// Initializes a new instance of .
- /// The object type.
- /// The ID of the tool call. This ID must be referenced when you submit tool outputs.
- /// Keeps track of any properties unknown to the library.
- /// Reserved for future use.
- internal RunStepSharepointToolCall(string type, string id, IDictionary serializedAdditionalRawData, IReadOnlyDictionary sharePoint) : base(type, id, serializedAdditionalRawData)
- {
- SharePoint = sharePoint;
- }
-
- /// Initializes a new instance of for deserialization.
- internal RunStepSharepointToolCall()
- {
- }
-
- /// Reserved for future use.
- public IReadOnlyDictionary SharePoint { get; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.Serialization.cs
index 75934e58dfca..a691ba0270f9 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.Serialization.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.Serialization.cs
@@ -80,14 +80,11 @@ internal static RunStepToolCall DeserializeRunStepToolCall(JsonElement element,
switch (discriminator.GetString())
{
case "azure_ai_search": return RunStepAzureAISearchToolCall.DeserializeRunStepAzureAISearchToolCall(element, options);
- case "bing_custom_search": return RunStepBingCustomSearchToolCall.DeserializeRunStepBingCustomSearchToolCall(element, options);
case "bing_grounding": return RunStepBingGroundingToolCall.DeserializeRunStepBingGroundingToolCall(element, options);
case "code_interpreter": return RunStepCodeInterpreterToolCall.DeserializeRunStepCodeInterpreterToolCall(element, options);
- case "fabric_dataagent": return RunStepMicrosoftFabricToolCall.DeserializeRunStepMicrosoftFabricToolCall(element, options);
case "file_search": return RunStepFileSearchToolCall.DeserializeRunStepFileSearchToolCall(element, options);
case "function": return RunStepFunctionToolCall.DeserializeRunStepFunctionToolCall(element, options);
case "openapi": return RunStepOpenAPIToolCall.DeserializeRunStepOpenAPIToolCall(element, options);
- case "sharepoint_grounding": return RunStepSharepointToolCall.DeserializeRunStepSharepointToolCall(element, options);
}
}
return UnknownRunStepToolCall.DeserializeUnknownRunStepToolCall(element, options);
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.cs
index 2baae9a8d283..f8e3e27b1338 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCall.cs
@@ -13,7 +13,7 @@ namespace Azure.AI.Agents.Persistent
///
/// 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.Agents.Persistent/src/Generated/RunStepToolCallDetails.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCallDetails.cs
index efea73eed8eb..08bfe0d6e0d5 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/RunStepToolCallDetails.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/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.Agents.Persistent/src/Generated/SharepointToolDefinition.Serialization.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/SharepointToolDefinition.Serialization.cs
deleted file mode 100644
index 6a039775a53f..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/SharepointToolDefinition.Serialization.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ClientModel.Primitives;
-using System.Collections.Generic;
-using System.Text.Json;
-using Azure.Core;
-
-namespace Azure.AI.Agents.Persistent
-{
- public partial class SharepointToolDefinition : IUtf8JsonSerializable, IJsonModel
- {
- void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
-
- void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- writer.WriteStartObject();
- JsonModelWriteCore(writer, options);
- writer.WriteEndObject();
- }
-
- /// The JSON writer.
- /// The client options for reading and writing models.
- protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(SharepointToolDefinition)} does not support writing '{format}' format.");
- }
-
- base.JsonModelWriteCore(writer, options);
- writer.WritePropertyName("sharepoint_grounding"u8);
- writer.WriteObjectValue(SharepointGrounding, options);
- }
-
- SharepointToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
- if (format != "J")
- {
- throw new FormatException($"The model {nameof(SharepointToolDefinition)} does not support reading '{format}' format.");
- }
-
- using JsonDocument document = JsonDocument.ParseValue(ref reader);
- return DeserializeSharepointToolDefinition(document.RootElement, options);
- }
-
- internal static SharepointToolDefinition DeserializeSharepointToolDefinition(JsonElement element, ModelReaderWriterOptions options = null)
- {
- options ??= ModelSerializationExtensions.WireOptions;
-
- if (element.ValueKind == JsonValueKind.Null)
- {
- return null;
- }
- ToolConnectionList sharepointGrounding = default;
- string type = default;
- IDictionary serializedAdditionalRawData = default;
- Dictionary rawDataDictionary = new Dictionary();
- foreach (var property in element.EnumerateObject())
- {
- if (property.NameEquals("sharepoint_grounding"u8))
- {
- sharepointGrounding = ToolConnectionList.DeserializeToolConnectionList(property.Value, options);
- continue;
- }
- if (property.NameEquals("type"u8))
- {
- type = property.Value.GetString();
- continue;
- }
- if (options.Format != "W")
- {
- rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
- }
- }
- serializedAdditionalRawData = rawDataDictionary;
- return new SharepointToolDefinition(type, serializedAdditionalRawData, sharepointGrounding);
- }
-
- BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- return ModelReaderWriter.Write(this, options, AzureAIAgentsPersistentContext.Default);
- default:
- throw new FormatException($"The model {nameof(SharepointToolDefinition)} does not support writing '{options.Format}' format.");
- }
- }
-
- SharepointToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
- {
- var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
-
- switch (format)
- {
- case "J":
- {
- using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeSharepointToolDefinition(document.RootElement, options);
- }
- default:
- throw new FormatException($"The model {nameof(SharepointToolDefinition)} does not support reading '{options.Format}' format.");
- }
- }
-
- string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
-
- /// Deserializes the model from a raw response.
- /// The response to deserialize the model from.
- internal static new SharepointToolDefinition FromResponse(Response response)
- {
- using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
- return DeserializeSharepointToolDefinition(document.RootElement);
- }
-
- /// Convert into a .
- internal override RequestContent ToRequestContent()
- {
- var content = new Utf8JsonRequestContent();
- content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
- return content;
- }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/SharepointToolDefinition.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/SharepointToolDefinition.cs
deleted file mode 100644
index d537d9561dc5..000000000000
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/SharepointToolDefinition.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Collections.Generic;
-
-namespace Azure.AI.Agents.Persistent
-{
- /// The input definition information for a sharepoint tool as used to configure an agent.
- public partial class SharepointToolDefinition : ToolDefinition
- {
- /// Initializes a new instance of .
- /// The list of connections used by the SharePoint tool.
- /// is null.
- public SharepointToolDefinition(ToolConnectionList sharepointGrounding)
- {
- Argument.AssertNotNull(sharepointGrounding, nameof(sharepointGrounding));
-
- Type = "sharepoint_grounding";
- SharepointGrounding = sharepointGrounding;
- }
-
- /// Initializes a new instance of .
- /// The object type.
- /// Keeps track of any properties unknown to the library.
- /// The list of connections used by the SharePoint tool.
- internal SharepointToolDefinition(string type, IDictionary serializedAdditionalRawData, ToolConnectionList sharepointGrounding) : base(type, serializedAdditionalRawData)
- {
- SharepointGrounding = sharepointGrounding;
- }
-
- /// Initializes a new instance of for deserialization.
- internal SharepointToolDefinition()
- {
- }
-
- /// The list of connections used by the SharePoint tool.
- public ToolConnectionList SharepointGrounding { get; set; }
- }
-}
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadMessages.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadMessages.cs
index 9e2ef80a7334..33c142627adf 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadMessages.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadMessages.cs
@@ -71,6 +71,7 @@ internal ThreadMessages(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli
/// The cancellation token to use.
/// or is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> CreateMessageAsync(string threadId, MessageRole role, BinaryData content, IEnumerable attachments = null, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -101,6 +102,7 @@ public virtual async Task> CreateMessageAsync(
/// The cancellation token to use.
/// or is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual Response CreateMessage(string threadId, MessageRole role, BinaryData content, IEnumerable attachments = null, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -134,6 +136,7 @@ public virtual Response CreateMessage(string threadId,
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task CreateMessageAsync(string threadId, RequestContent content, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -175,6 +178,7 @@ public virtual async Task CreateMessageAsync(string threadId, RequestC
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response CreateMessage(string threadId, RequestContent content, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -200,6 +204,7 @@ public virtual Response CreateMessage(string threadId, RequestContent content, R
/// The cancellation token to use.
/// or is null.
/// or is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> GetMessageAsync(string threadId, string messageId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -216,6 +221,7 @@ public virtual async Task> GetMessageAsync(str
/// The cancellation token to use.
/// or is null.
/// or is an empty string, and was expected to be non-empty.
+ ///
public virtual Response GetMessage(string threadId, string messageId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -248,6 +254,7 @@ public virtual Response GetMessage(string threadId, str
/// or is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task GetMessageAsync(string threadId, string messageId, RequestContext context)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -289,6 +296,7 @@ public virtual async Task GetMessageAsync(string threadId, string mess
/// or is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response GetMessage(string threadId, string messageId, RequestContext context)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -315,6 +323,7 @@ public virtual Response GetMessage(string threadId, string messageId, RequestCon
/// The cancellation token to use.
/// or is null.
/// or is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> UpdateMessageAsync(string threadId, string messageId, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -333,6 +342,7 @@ public virtual async Task> UpdateMessageAsync(
/// The cancellation token to use.
/// or is null.
/// or is an empty string, and was expected to be non-empty.
+ ///
public virtual Response UpdateMessage(string threadId, string messageId, IReadOnlyDictionary metadata = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -367,6 +377,7 @@ public virtual Response UpdateMessage(string threadId,
/// or is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task UpdateMessageAsync(string threadId, string messageId, RequestContent content, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -410,6 +421,7 @@ public virtual async Task UpdateMessageAsync(string threadId, string m
/// or is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response UpdateMessage(string threadId, string messageId, RequestContent content, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRun.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRun.cs
index 195dfe8c9d4d..547a0c6a2675 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRun.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/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.
@@ -126,7 +126,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.
@@ -209,7 +209,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.Agents.Persistent/src/Generated/ThreadRunSteps.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRunSteps.cs
index e2a831fdb9fb..8fcd9b932e44 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRunSteps.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRunSteps.cs
@@ -65,6 +65,7 @@ internal ThreadRunSteps(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli
/// The cancellation token to use.
/// , or is null.
/// , or is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> GetRunStepAsync(string threadId, string runId, string stepId, IEnumerable include = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -87,6 +88,7 @@ public virtual async Task> GetRunStepAsync(string threadId, st
/// The cancellation token to use.
/// , or is null.
/// , or is an empty string, and was expected to be non-empty.
+ ///
public virtual Response GetRunStep(string threadId, string runId, string stepId, IEnumerable include = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -125,6 +127,7 @@ public virtual Response GetRunStep(string threadId, string runId, strin
/// , or is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual async Task GetRunStepAsync(string threadId, string runId, string stepId, IEnumerable include, RequestContext context)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
@@ -172,6 +175,7 @@ public virtual async Task GetRunStepAsync(string threadId, string runI
/// , or is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
+ ///
public virtual Response GetRunStep(string threadId, string runId, string stepId, IEnumerable include, RequestContext context)
{
Argument.AssertNotNullOrEmpty(threadId, nameof(threadId));
diff --git a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRuns.cs b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRuns.cs
index 73e1a965b95e..fc8aa73bbf8e 100644
--- a/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRuns.cs
+++ b/sdk/ai/Azure.AI.Agents.Persistent/src/Generated/ThreadRuns.cs
@@ -101,6 +101,7 @@ internal ThreadRuns(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline,
/// The cancellation token to use.
/// or is null.
/// is an empty string, and was expected to be non-empty.
+ ///
public virtual async Task> CreateRunAsync(string threadId, string assistantId, string overrideModelName = null, string overrideInstructions = null, string additionalInstructions = null, IEnumerable additionalMessages = null, IEnumerable