Skip to content

Commit cd36b3d

Browse files
author
SDKAuto
committed
CodeGen from PR 33457 in Azure/azure-rest-api-specs
Merge 6ce02b281d79d2e8fe26dbb4991d56e8f370e9fa into 13a832388721b04e485734af0ea97e25a4556e14
1 parent 346f011 commit cd36b3d

24 files changed

+979
-21
lines changed

sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.net8.0.cs

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer
355355
private readonly int _dummyPrimitive;
356356
public AgentsNamedToolChoiceType(string value) { throw null; }
357357
public static Azure.AI.Projects.AgentsNamedToolChoiceType AzureAISearch { get { throw null; } }
358+
public static Azure.AI.Projects.AgentsNamedToolChoiceType BingCustomSearch { get { throw null; } }
358359
public static Azure.AI.Projects.AgentsNamedToolChoiceType BingGrounding { get { throw null; } }
359360
public static Azure.AI.Projects.AgentsNamedToolChoiceType CodeInterpreter { get { throw null; } }
360361
public static Azure.AI.Projects.AgentsNamedToolChoiceType FileSearch { get { throw null; } }
@@ -525,6 +526,7 @@ public static partial class AIProjectsModelFactory
525526
public static Azure.AI.Projects.RunStepCodeInterpreterImageReference RunStepCodeInterpreterImageReference(string fileId = null) { throw null; }
526527
public static Azure.AI.Projects.RunStepCodeInterpreterLogOutput RunStepCodeInterpreterLogOutput(string logs = null) { throw null; }
527528
public static Azure.AI.Projects.RunStepCompletionUsage RunStepCompletionUsage(long completionTokens = (long)0, long promptTokens = (long)0, long totalTokens = (long)0) { throw null; }
529+
public static Azure.AI.Projects.RunStepCustomSearchToolCall RunStepCustomSearchToolCall(string id = null, System.Collections.Generic.IReadOnlyDictionary<string, string> bingCustomSearch = null) { throw null; }
528530
public static Azure.AI.Projects.RunStepDelta RunStepDelta(Azure.AI.Projects.RunStepDeltaDetail stepDetails = null) { throw null; }
529531
public static Azure.AI.Projects.RunStepDeltaChunk RunStepDeltaChunk(string id = null, Azure.AI.Projects.RunStepDeltaChunkObject @object = default(Azure.AI.Projects.RunStepDeltaChunkObject), Azure.AI.Projects.RunStepDelta delta = null) { throw null; }
530532
public static Azure.AI.Projects.RunStepDeltaCodeInterpreterDetailItemObject RunStepDeltaCodeInterpreterDetailItemObject(string input = null, System.Collections.Generic.IEnumerable<Azure.AI.Projects.RunStepDeltaCodeInterpreterOutput> outputs = null) { throw null; }
@@ -711,6 +713,17 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write
711713
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.AzureFunctionToolDefinition>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
712714
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.AzureFunctionToolDefinition>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
713715
}
716+
public partial class BingCustomSearchToolDefinition : Azure.AI.Projects.ToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.BingCustomSearchToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.BingCustomSearchToolDefinition>
717+
{
718+
public BingCustomSearchToolDefinition(Azure.AI.Projects.SearchConfigurationList bingCustomSearch) { }
719+
public Azure.AI.Projects.SearchConfigurationList BingCustomSearch { get { throw null; } set { } }
720+
protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
721+
Azure.AI.Projects.BingCustomSearchToolDefinition System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.BingCustomSearchToolDefinition>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
722+
void System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.BingCustomSearchToolDefinition>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
723+
Azure.AI.Projects.BingCustomSearchToolDefinition System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.BingCustomSearchToolDefinition>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
724+
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.BingCustomSearchToolDefinition>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
725+
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.BingCustomSearchToolDefinition>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
726+
}
714727
public partial class BingGroundingToolDefinition : Azure.AI.Projects.ToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.BingGroundingToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.BingGroundingToolDefinition>
715728
{
716729
public BingGroundingToolDefinition(Azure.AI.Projects.ToolConnectionList bingGrounding) { }
@@ -2093,6 +2106,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer
20932106
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepCompletionUsage>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
20942107
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepCompletionUsage>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
20952108
}
2109+
public partial class RunStepCustomSearchToolCall : Azure.AI.Projects.RunStepToolCall, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStepCustomSearchToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepCustomSearchToolCall>
2110+
{
2111+
internal RunStepCustomSearchToolCall() : base (default(string)) { }
2112+
public System.Collections.Generic.IReadOnlyDictionary<string, string> BingCustomSearch { get { throw null; } }
2113+
protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
2114+
Azure.AI.Projects.RunStepCustomSearchToolCall System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStepCustomSearchToolCall>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2115+
void System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStepCustomSearchToolCall>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
2116+
Azure.AI.Projects.RunStepCustomSearchToolCall System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepCustomSearchToolCall>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2117+
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepCustomSearchToolCall>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2118+
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepCustomSearchToolCall>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2119+
}
20962120
public partial class RunStepDelta : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStepDelta>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStepDelta>
20972121
{
20982122
internal RunStepDelta() { }
@@ -2557,6 +2581,29 @@ public partial class RunUpdate : Azure.AI.Projects.StreamingUpdate<Azure.AI.Proj
25572581
{
25582582
internal RunUpdate() { }
25592583
}
2584+
public partial class SearchConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SearchConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfiguration>
2585+
{
2586+
public SearchConfiguration(string connectionId, string instanceName) { }
2587+
public string ConnectionId { get { throw null; } set { } }
2588+
public string InstanceName { get { throw null; } set { } }
2589+
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
2590+
Azure.AI.Projects.SearchConfiguration System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SearchConfiguration>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2591+
void System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SearchConfiguration>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
2592+
Azure.AI.Projects.SearchConfiguration System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfiguration>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2593+
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfiguration>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2594+
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfiguration>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2595+
}
2596+
public partial class SearchConfigurationList : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SearchConfigurationList>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfigurationList>
2597+
{
2598+
public SearchConfigurationList(System.Collections.Generic.IEnumerable<Azure.AI.Projects.SearchConfiguration> searchConfigurations) { }
2599+
public System.Collections.Generic.IList<Azure.AI.Projects.SearchConfiguration> SearchConfigurations { get { throw null; } }
2600+
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
2601+
Azure.AI.Projects.SearchConfigurationList System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SearchConfigurationList>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2602+
void System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SearchConfigurationList>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
2603+
Azure.AI.Projects.SearchConfigurationList System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfigurationList>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2604+
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfigurationList>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2605+
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SearchConfigurationList>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
2606+
}
25602607
public partial class SharepointToolDefinition : Azure.AI.Projects.ToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.SharepointToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.SharepointToolDefinition>
25612608
{
25622609
public SharepointToolDefinition(Azure.AI.Projects.ToolConnectionList sharepointGrounding) { }

0 commit comments

Comments
 (0)