diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs
index 0eb11a6..e014ef6 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.JsonSerializerContextTypes.g.cs
@@ -200,399 +200,407 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::AssemblyAI.CustomFormattingRequestBody? Type43 { get; set; }
+ public global::System.Collections.Generic.IList? Type43 { get; set; }
///
///
///
- public global::AssemblyAI.CustomFormattingRequestBodyCustomFormatting? Type44 { get; set; }
+ public global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker? Type44 { get; set; }
///
///
///
- public global::AssemblyAI.SummaryModel? Type45 { get; set; }
+ public global::AssemblyAI.CustomFormattingRequestBody? Type45 { get; set; }
///
///
///
- public global::AssemblyAI.SummaryType? Type46 { get; set; }
+ public global::AssemblyAI.CustomFormattingRequestBodyCustomFormatting? Type46 { get; set; }
///
///
///
- public global::AssemblyAI.OneOf? Type47 { get; set; }
+ public global::AssemblyAI.SummaryModel? Type47 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptParams? Type48 { get; set; }
+ public global::AssemblyAI.SummaryType? Type48 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptParamsVariant1? Type49 { get; set; }
+ public global::AssemblyAI.OneOf? Type49 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptBoostParam? Type50 { get; set; }
+ public global::AssemblyAI.TranscriptParams? Type50 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptUtterance? Type51 { get; set; }
+ public global::AssemblyAI.TranscriptParamsVariant1? Type51 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type52 { get; set; }
+ public global::AssemblyAI.TranscriptBoostParam? Type52 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptWord? Type53 { get; set; }
+ public global::AssemblyAI.TranscriptUtterance? Type53 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type54 { get; set; }
+ public global::System.Collections.Generic.IList? Type54 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptStatus? Type55 { get; set; }
+ public global::AssemblyAI.TranscriptWord? Type55 { get; set; }
///
///
///
- public global::AssemblyAI.Transcript? Type56 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type56 { get; set; }
///
///
///
- public global::AssemblyAI.OneOf? Type57 { get; set; }
+ public global::AssemblyAI.TranscriptStatus? Type57 { get; set; }
///
///
///
- public global::AssemblyAI.AutoHighlightsResult2? Type58 { get; set; }
+ public global::AssemblyAI.Transcript? Type58 { get; set; }
///
///
///
- public global::AssemblyAI.AudioIntelligenceModelStatus? Type59 { get; set; }
+ public global::AssemblyAI.OneOf? Type59 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type60 { get; set; }
+ public global::AssemblyAI.AutoHighlightsResult2? Type60 { get; set; }
///
///
///
- public global::AssemblyAI.AutoHighlightResult? Type61 { get; set; }
+ public global::AssemblyAI.AudioIntelligenceModelStatus? Type61 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type62 { get; set; }
+ public global::System.Collections.Generic.IList? Type62 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type63 { get; set; }
+ public global::AssemblyAI.AutoHighlightResult? Type63 { get; set; }
///
///
///
- public global::AssemblyAI.Chapter? Type64 { get; set; }
+ public global::System.Collections.Generic.IList? Type64 { get; set; }
///
///
///
- public global::AssemblyAI.OneOf? Type65 { get; set; }
+ public global::System.Collections.Generic.IList? Type65 { get; set; }
///
///
///
- public global::AssemblyAI.ContentSafetyLabelsResult? Type66 { get; set; }
+ public global::AssemblyAI.Chapter? Type66 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type67 { get; set; }
+ public global::AssemblyAI.OneOf? Type67 { get; set; }
///
///
///
- public global::AssemblyAI.ContentSafetyLabelResult? Type68 { get; set; }
+ public global::AssemblyAI.ContentSafetyLabelsResult? Type68 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type69 { get; set; }
+ public global::System.Collections.Generic.IList? Type69 { get; set; }
///
///
///
- public global::AssemblyAI.ContentSafetyLabel? Type70 { get; set; }
+ public global::AssemblyAI.ContentSafetyLabelResult? Type70 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type71 { get; set; }
+ public global::System.Collections.Generic.IList? Type71 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type72 { get; set; }
+ public global::AssemblyAI.ContentSafetyLabel? Type72 { get; set; }
///
///
///
- public global::AssemblyAI.SeverityScoreSummary? Type73 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type73 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type74 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type74 { get; set; }
///
///
///
- public global::AssemblyAI.Entity? Type75 { get; set; }
+ public global::AssemblyAI.SeverityScoreSummary? Type75 { get; set; }
///
///
///
- public global::AssemblyAI.EntityType? Type76 { get; set; }
+ public global::System.Collections.Generic.IList? Type76 { get; set; }
///
///
///
- public global::AssemblyAI.OneOf? Type77 { get; set; }
+ public global::AssemblyAI.Entity? Type77 { get; set; }
///
///
///
- public global::AssemblyAI.TopicDetectionModelResult? Type78 { get; set; }
+ public global::AssemblyAI.EntityType? Type78 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type79 { get; set; }
+ public global::AssemblyAI.OneOf? Type79 { get; set; }
///
///
///
- public global::AssemblyAI.TopicDetectionResult? Type80 { get; set; }
+ public global::AssemblyAI.TopicDetectionModelResult? Type80 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type81 { get; set; }
+ public global::System.Collections.Generic.IList? Type81 { get; set; }
///
///
///
- public global::AssemblyAI.TopicDetectionResultLabel? Type82 { get; set; }
+ public global::AssemblyAI.TopicDetectionResult? Type82 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptLanguageDetectionOptions? Type83 { get; set; }
+ public global::System.Collections.Generic.IList? Type83 { get; set; }
///
///
///
- public global::AssemblyAI.OneOf? Type84 { get; set; }
+ public global::AssemblyAI.TopicDetectionResultLabel? Type84 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type85 { get; set; }
+ public global::AssemblyAI.TranscriptLanguageDetectionOptions? Type85 { get; set; }
///
///
///
- public global::AssemblyAI.SentimentAnalysisResult? Type86 { get; set; }
+ public global::AssemblyAI.OneOf? Type86 { get; set; }
///
///
///
- public global::AssemblyAI.Sentiment? Type87 { get; set; }
+ public global::System.Collections.Generic.IList? Type87 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptSpeechUnderstanding? Type88 { get; set; }
+ public global::AssemblyAI.SentimentAnalysisResult? Type88 { get; set; }
///
///
///
- public global::AssemblyAI.OneOf? Type89 { get; set; }
+ public global::AssemblyAI.Sentiment? Type89 { get; set; }
///
///
///
- public global::AssemblyAI.TranslationResponse? Type90 { get; set; }
+ public global::AssemblyAI.TranscriptSpeechUnderstanding? Type90 { get; set; }
///
///
///
- public global::AssemblyAI.TranslationResponseTranslation? Type91 { get; set; }
+ public global::AssemblyAI.OneOf? Type91 { get; set; }
///
///
///
- public global::AssemblyAI.SpeakerIdentificationResponse? Type92 { get; set; }
+ public global::AssemblyAI.TranslationResponse? Type92 { get; set; }
///
///
///
- public global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentification? Type93 { get; set; }
+ public global::AssemblyAI.TranslationResponseTranslation? Type93 { get; set; }
///
///
///
- public global::AssemblyAI.CustomFormattingResponse? Type94 { get; set; }
+ public global::AssemblyAI.SpeakerIdentificationResponse? Type94 { get; set; }
///
///
///
- public global::AssemblyAI.CustomFormattingResponseCustomFormatting? Type95 { get; set; }
+ public global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentification? Type95 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type96 { get; set; }
+ public global::AssemblyAI.CustomFormattingResponse? Type96 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptTranslatedTexts? Type97 { get; set; }
+ public global::AssemblyAI.CustomFormattingResponseCustomFormatting? Type97 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptSentence? Type98 { get; set; }
+ public global::System.Collections.Generic.IList? Type98 { get; set; }
///
///
///
- public global::AssemblyAI.SentencesResponse? Type99 { get; set; }
+ public global::AssemblyAI.TranscriptTranslatedTexts? Type99 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type100 { get; set; }
+ public global::AssemblyAI.TranscriptSentence? Type100 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptParagraph? Type101 { get; set; }
+ public global::AssemblyAI.SentencesResponse? Type101 { get; set; }
///
///
///
- public global::AssemblyAI.ParagraphsResponse? Type102 { get; set; }
+ public global::System.Collections.Generic.IList? Type102 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type103 { get; set; }
+ public global::AssemblyAI.TranscriptParagraph? Type103 { get; set; }
///
///
///
- public global::AssemblyAI.PageDetails? Type104 { get; set; }
+ public global::AssemblyAI.ParagraphsResponse? Type104 { get; set; }
///
///
///
- public global::AssemblyAI.ListTranscriptParams? Type105 { get; set; }
+ public global::System.Collections.Generic.IList? Type105 { get; set; }
///
///
///
- public global::System.DateTime? Type106 { get; set; }
+ public global::AssemblyAI.PageDetails? Type106 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptListItem? Type107 { get; set; }
+ public global::AssemblyAI.ListTranscriptParams? Type107 { get; set; }
///
///
///
- public global::AssemblyAI.TranscriptList? Type108 { get; set; }
+ public global::System.DateTime? Type108 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type109 { get; set; }
+ public global::AssemblyAI.TranscriptListItem? Type109 { get; set; }
///
///
///
- public global::AssemblyAI.UploadedFile? Type110 { get; set; }
+ public global::AssemblyAI.TranscriptList? Type110 { get; set; }
///
///
///
- public global::AssemblyAI.CreateRealtimeTemporaryTokenParams? Type111 { get; set; }
+ public global::System.Collections.Generic.IList? Type111 { get; set; }
///
///
///
- public global::AssemblyAI.RealtimeTemporaryTokenResponse? Type112 { get; set; }
+ public global::AssemblyAI.UploadedFile? Type112 { get; set; }
///
///
///
- public global::AssemblyAI.PurgeLemurRequestDataResponse? Type113 { get; set; }
+ public global::AssemblyAI.CreateRealtimeTemporaryTokenParams? Type113 { get; set; }
///
///
///
- public global::AssemblyAI.LemurBaseResponse? Type114 { get; set; }
+ public global::AssemblyAI.RealtimeTemporaryTokenResponse? Type114 { get; set; }
///
///
///
- public global::AssemblyAI.LemurUsage? Type115 { get; set; }
+ public global::AssemblyAI.PurgeLemurRequestDataResponse? Type115 { get; set; }
///
///
///
- public global::AssemblyAI.LemurStringResponse? Type116 { get; set; }
+ public global::AssemblyAI.LemurBaseResponse? Type116 { get; set; }
///
///
///
- public global::AssemblyAI.LemurStringResponseVariant1? Type117 { get; set; }
+ public global::AssemblyAI.LemurUsage? Type117 { get; set; }
///
///
///
- public global::AssemblyAI.LemurTaskResponse? Type118 { get; set; }
+ public global::AssemblyAI.LemurStringResponse? Type118 { get; set; }
///
///
///
- public global::AssemblyAI.LemurSummaryResponse? Type119 { get; set; }
+ public global::AssemblyAI.LemurStringResponseVariant1? Type119 { get; set; }
///
///
///
- public global::AssemblyAI.LemurActionItemsResponse? Type120 { get; set; }
+ public global::AssemblyAI.LemurTaskResponse? Type120 { get; set; }
///
///
///
- public global::AssemblyAI.LemurQuestionAnswerResponse? Type121 { get; set; }
+ public global::AssemblyAI.LemurSummaryResponse? Type121 { get; set; }
///
///
///
- public global::AssemblyAI.LemurQuestionAnswerResponseVariant2? Type122 { get; set; }
+ public global::AssemblyAI.LemurActionItemsResponse? Type122 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type123 { get; set; }
+ public global::AssemblyAI.LemurQuestionAnswerResponse? Type123 { get; set; }
///
///
///
- public global::AssemblyAI.LemurQuestionAnswer? Type124 { get; set; }
+ public global::AssemblyAI.LemurQuestionAnswerResponseVariant2? Type124 { get; set; }
///
///
///
- public global::AssemblyAI.LemurResponse? Type125 { get; set; }
+ public global::System.Collections.Generic.IList? Type125 { get; set; }
///
///
///
- public global::AssemblyAI.LemurBaseParams? Type126 { get; set; }
+ public global::AssemblyAI.LemurQuestionAnswer? Type126 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type127 { get; set; }
+ public global::AssemblyAI.LemurResponse? Type127 { get; set; }
///
///
///
- public global::AssemblyAI.AnyOf? Type128 { get; set; }
+ public global::AssemblyAI.LemurBaseParams? Type128 { get; set; }
///
///
///
- public global::AssemblyAI.LemurModel? Type129 { get; set; }
+ public global::System.Collections.Generic.IList? Type129 { get; set; }
///
///
///
- public global::AssemblyAI.LemurTaskParams? Type130 { get; set; }
+ public global::AssemblyAI.AnyOf? Type130 { get; set; }
///
///
///
- public global::AssemblyAI.LemurTaskParamsVariant1? Type131 { get; set; }
+ public global::AssemblyAI.LemurModel? Type131 { get; set; }
///
///
///
- public global::AssemblyAI.LemurSummaryParams? Type132 { get; set; }
+ public global::AssemblyAI.LemurTaskParams? Type132 { get; set; }
///
///
///
- public global::AssemblyAI.LemurSummaryParamsVariant2? Type133 { get; set; }
+ public global::AssemblyAI.LemurTaskParamsVariant1? Type133 { get; set; }
///
///
///
- public global::AssemblyAI.LemurQuestionAnswerParams? Type134 { get; set; }
+ public global::AssemblyAI.LemurSummaryParams? Type134 { get; set; }
///
///
///
- public global::AssemblyAI.LemurQuestionAnswerParamsVariant2? Type135 { get; set; }
+ public global::AssemblyAI.LemurSummaryParamsVariant2? Type135 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type136 { get; set; }
+ public global::AssemblyAI.LemurQuestionAnswerParams? Type136 { get; set; }
///
///
///
- public global::AssemblyAI.LemurQuestion? Type137 { get; set; }
+ public global::AssemblyAI.LemurQuestionAnswerParamsVariant2? Type137 { get; set; }
///
///
///
- public global::AssemblyAI.LemurActionItemsParams? Type138 { get; set; }
+ public global::System.Collections.Generic.IList? Type138 { get; set; }
///
///
///
- public global::AssemblyAI.LemurActionItemsParamsVariant2? Type139 { get; set; }
+ public global::AssemblyAI.LemurQuestion? Type139 { get; set; }
///
///
///
- public global::AssemblyAI.Error? Type140 { get; set; }
+ public global::AssemblyAI.LemurActionItemsParams? Type140 { get; set; }
///
///
///
- public byte[]? Type141 { get; set; }
+ public global::AssemblyAI.LemurActionItemsParamsVariant2? Type141 { get; set; }
+ ///
+ ///
+ ///
+ public global::AssemblyAI.Error? Type142 { get; set; }
+ ///
+ ///
+ ///
+ public byte[]? Type143 { get; set; }
///
///
@@ -625,70 +633,74 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Collections.Generic.List? ListType7 { get; set; }
+ public global::System.Collections.Generic.List? ListType7 { get; set; }
+ ///
+ ///
+ ///
+ public global::System.Collections.Generic.List? ListType8 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType8 { get; set; }
+ public global::System.Collections.Generic.List? ListType9 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType9 { get; set; }
+ public global::System.Collections.Generic.List? ListType10 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType10 { get; set; }
+ public global::System.Collections.Generic.List? ListType11 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType11 { get; set; }
+ public global::System.Collections.Generic.List? ListType12 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType12 { get; set; }
+ public global::System.Collections.Generic.List? ListType13 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType13 { get; set; }
+ public global::System.Collections.Generic.List? ListType14 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType14 { get; set; }
+ public global::System.Collections.Generic.List? ListType15 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType15 { get; set; }
+ public global::System.Collections.Generic.List? ListType16 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType16 { get; set; }
+ public global::System.Collections.Generic.List? ListType17 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType17 { get; set; }
+ public global::System.Collections.Generic.List? ListType18 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType18 { get; set; }
+ public global::System.Collections.Generic.List? ListType19 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType19 { get; set; }
+ public global::System.Collections.Generic.List? ListType20 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType20 { get; set; }
+ public global::System.Collections.Generic.List? ListType21 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType21 { get; set; }
+ public global::System.Collections.Generic.List? ListType22 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType22 { get; set; }
+ public global::System.Collections.Generic.List? ListType23 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType23 { get; set; }
+ public global::System.Collections.Generic.List? ListType24 { get; set; }
}
}
\ No newline at end of file
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentification.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentification.g.cs
index d356632..033b855 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentification.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentification.g.cs
@@ -22,6 +22,12 @@ public sealed partial class SpeakerIdentificationRequestBodySpeakerIdentificatio
[global::System.Text.Json.Serialization.JsonPropertyName("known_values")]
public global::System.Collections.Generic.IList? KnownValues { get; set; }
+ ///
+ /// An array of speaker objects with metadata to improve identification accuracy. Each object should include a `role` or `name` (depending on `speaker_type`) and an optional `description` to help the model identify the speaker. You can also include any additional custom properties (e.g., `company`, `title`) to provide more context. Use this as an alternative to `known_values` when you want to provide additional context about each speaker.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("speakers")]
+ public global::System.Collections.Generic.IList? Speakers { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -37,15 +43,20 @@ public sealed partial class SpeakerIdentificationRequestBodySpeakerIdentificatio
///
/// Required if speaker_type is "role". Each value must be 35 characters or less.
///
+ ///
+ /// An array of speaker objects with metadata to improve identification accuracy. Each object should include a `role` or `name` (depending on `speaker_type`) and an optional `description` to help the model identify the speaker. You can also include any additional custom properties (e.g., `company`, `title`) to provide more context. Use this as an alternative to `known_values` when you want to provide additional context about each speaker.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public SpeakerIdentificationRequestBodySpeakerIdentification(
global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeakerType speakerType,
- global::System.Collections.Generic.IList? knownValues)
+ global::System.Collections.Generic.IList? knownValues,
+ global::System.Collections.Generic.IList? speakers)
{
this.SpeakerType = speakerType;
this.KnownValues = knownValues;
+ this.Speakers = speakers;
}
///
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker.Json.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker.Json.g.cs
new file mode 100644
index 0000000..af87a54
--- /dev/null
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace AssemblyAI
+{
+ public sealed partial class SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker),
+ jsonSerializerContext) as global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker),
+ jsonSerializerContext).ConfigureAwait(false)) as global::AssemblyAI.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker.g.cs
new file mode 100644
index 0000000..a17a957
--- /dev/null
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker.g.cs
@@ -0,0 +1,67 @@
+
+#nullable enable
+
+namespace AssemblyAI
+{
+ ///
+ ///
+ ///
+ public sealed partial class SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker
+ {
+ ///
+ /// The role of the speaker. Required when `speaker_type` is "role".
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("role")]
+ public string? Role { get; set; }
+
+ ///
+ /// The name of the speaker. Required when `speaker_type` is "name".
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string? Name { get; set; }
+
+ ///
+ /// A description of the speaker to help the model identify them based on conversational context.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("description")]
+ public string? Description { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// The role of the speaker. Required when `speaker_type` is "role".
+ ///
+ ///
+ /// The name of the speaker. Required when `speaker_type` is "name".
+ ///
+ ///
+ /// A description of the speaker to help the model identify them based on conversational context.
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker(
+ string? role,
+ string? name,
+ string? description)
+ {
+ this.Role = role;
+ this.Name = name;
+ this.Description = description;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public SpeakerIdentificationRequestBodySpeakerIdentificationSpeaker()
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentification.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentification.g.cs
index 82dedb4..4202c05 100644
--- a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentification.g.cs
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentification.g.cs
@@ -8,6 +8,12 @@ namespace AssemblyAI
///
public sealed partial class SpeakerIdentificationResponseSpeakerIdentification
{
+ ///
+ /// A mapping of the original generic speaker labels (e.g., "A", "B") to the identified speaker names or roles.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("mapping")]
+ public global::System.Collections.Generic.Dictionary? Mapping { get; set; }
+
///
///
///
@@ -23,13 +29,18 @@ public sealed partial class SpeakerIdentificationResponseSpeakerIdentification
///
/// Initializes a new instance of the class.
///
+ ///
+ /// A mapping of the original generic speaker labels (e.g., "A", "B") to the identified speaker names or roles.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public SpeakerIdentificationResponseSpeakerIdentification(
+ global::System.Collections.Generic.Dictionary? mapping,
string? status)
{
+ this.Mapping = mapping;
this.Status = status;
}
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentificationMapping.Json.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentificationMapping.Json.g.cs
new file mode 100644
index 0000000..d787ec5
--- /dev/null
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentificationMapping.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace AssemblyAI
+{
+ public sealed partial class SpeakerIdentificationResponseSpeakerIdentificationMapping
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentificationMapping? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentificationMapping),
+ jsonSerializerContext) as global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentificationMapping;
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentificationMapping? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentificationMapping),
+ jsonSerializerContext).ConfigureAwait(false)) as global::AssemblyAI.SpeakerIdentificationResponseSpeakerIdentificationMapping;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentificationMapping.g.cs b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentificationMapping.g.cs
new file mode 100644
index 0000000..0983346
--- /dev/null
+++ b/src/libs/AssemblyAI/Generated/AssemblyAI.Models.SpeakerIdentificationResponseSpeakerIdentificationMapping.g.cs
@@ -0,0 +1,18 @@
+
+#nullable enable
+
+namespace AssemblyAI
+{
+ ///
+ /// A mapping of the original generic speaker labels (e.g., "A", "B") to the identified speaker names or roles.
+ ///
+ public sealed partial class SpeakerIdentificationResponseSpeakerIdentificationMapping
+ {
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+ }
+}
\ No newline at end of file
diff --git a/src/libs/AssemblyAI/openapi.yaml b/src/libs/AssemblyAI/openapi.yaml
index aa4dbcc..9ad2eee 100644
--- a/src/libs/AssemblyAI/openapi.yaml
+++ b/src/libs/AssemblyAI/openapi.yaml
@@ -6133,6 +6133,22 @@ components:
items:
type: string
description: Required if speaker_type is "role". Each value must be 35 characters or less.
+ speakers:
+ type: array
+ description: An array of speaker objects with metadata to improve identification accuracy. Each object should include a `role` or `name` (depending on `speaker_type`) and an optional `description` to help the model identify the speaker. You can also include any additional custom properties (e.g., `company`, `title`) to provide more context. Use this as an alternative to `known_values` when you want to provide additional context about each speaker.
+ items:
+ type: object
+ properties:
+ role:
+ type: string
+ description: The role of the speaker. Required when `speaker_type` is "role".
+ name:
+ type: string
+ description: The name of the speaker. Required when `speaker_type` is "name".
+ description:
+ type: string
+ description: A description of the speaker to help the model identify them based on conversational context.
+ additionalProperties: true
required:
- speaker_type
required:
@@ -6172,6 +6188,11 @@ components:
speaker_identification:
type: object
properties:
+ mapping:
+ type: object
+ description: A mapping of the original generic speaker labels (e.g., "A", "B") to the identified speaker names or roles.
+ additionalProperties:
+ type: string
status:
type: string