Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ namespace AssemblyAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::AssemblyAI.Tool>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::AssemblyAI.FallbackObject>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::AssemblyAI.PostProcessingStep>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ResponseMessage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.FunctionToolCallType), TypeInfoPropertyName = "FunctionToolCallType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.FunctionCall))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.FunctionToolCall))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.Choice))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ResponseMessage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.Choice))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.ResponseRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.Usage))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AssemblyAI.Response))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,27 +608,27 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::AssemblyAI.ResponseMessage? Type145 { get; set; }
public global::AssemblyAI.FunctionToolCallType? Type145 { get; set; }
/// <summary>
///
/// </summary>
public global::AssemblyAI.FunctionToolCallType? Type146 { get; set; }
public global::AssemblyAI.FunctionCall? Type146 { get; set; }
/// <summary>
///
/// </summary>
public global::AssemblyAI.FunctionCall? Type147 { get; set; }
public global::AssemblyAI.FunctionToolCall? Type147 { get; set; }
/// <summary>
///
/// </summary>
public global::AssemblyAI.FunctionToolCall? Type148 { get; set; }
public global::AssemblyAI.ResponseMessage? Type148 { get; set; }
/// <summary>
///
/// </summary>
public global::AssemblyAI.Choice? Type149 { get; set; }
public global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>? Type149 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>? Type150 { get; set; }
public global::AssemblyAI.Choice? Type150 { get; set; }
/// <summary>
///
/// </summary>
Expand Down
11 changes: 1 addition & 10 deletions src/libs/AssemblyAI/Generated/AssemblyAI.Models.Choice.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ public sealed partial class Choice
[global::System.Text.Json.Serialization.JsonPropertyName("finish_reason")]
public string? FinishReason { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tool_calls")]
public global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>? ToolCalls { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand All @@ -39,18 +33,15 @@ public sealed partial class Choice
/// <param name="finishReason">
/// The reason the model stopped generating tokens.
/// </param>
/// <param name="toolCalls"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public Choice(
global::AssemblyAI.ResponseMessage? message,
string? finishReason,
global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>? toolCalls)
string? finishReason)
{
this.Message = message;
this.FinishReason = finishReason;
this.ToolCalls = toolCalls;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ public sealed partial class ResponseMessage
public string? Role { get; set; }

/// <summary>
///
/// The text content of the model's response. Null or empty when the model is only emitting tool_calls.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("content")]
public string? Content { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tool_calls")]
public global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>? ToolCalls { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand All @@ -30,16 +36,21 @@ public sealed partial class ResponseMessage
/// Initializes a new instance of the <see cref="ResponseMessage" /> class.
/// </summary>
/// <param name="role"></param>
/// <param name="content"></param>
/// <param name="content">
/// The text content of the model's response. Null or empty when the model is only emitting tool_calls.
/// </param>
/// <param name="toolCalls"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public ResponseMessage(
string? role,
string? content)
string? content,
global::System.Collections.Generic.IList<global::AssemblyAI.FunctionToolCall>? toolCalls)
{
this.Role = role;
this.Content = content;
this.ToolCalls = toolCalls;
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/AssemblyAI/openapi.yaml

Large diffs are not rendered by default.