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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/Cohere.Models.ApiMeta.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ public ApiMeta(
public ApiMeta()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ public ApiMetaApiVersion(
public ApiMetaApiVersion()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,6 @@ public ApiMetaBilledUnits(
public ApiMetaBilledUnits()
{
}

}
}
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public ApiMetaTokens(
public ApiMetaTokens()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ public AssistantMessage(
public AssistantMessage()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ public AssistantMessageContentVariant2ItemDiscriminator(
public AssistantMessageContentVariant2ItemDiscriminator()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ public AssistantMessageResponse(
public AssistantMessageResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ public AssistantMessageResponseContentItemDiscriminator(
public AssistantMessageResponseContentItemDiscriminator()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ public AudioTranscriptionsCreateRequest(
public AudioTranscriptionsCreateRequest()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ public AudioTranscriptionsCreateResponse(
public AudioTranscriptionsCreateResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody(
public BadRequestErrorBody()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody10(
public BadRequestErrorBody10()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody11(
public BadRequestErrorBody11()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody12(
public BadRequestErrorBody12()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody13(
public BadRequestErrorBody13()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody14(
public BadRequestErrorBody14()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody15(
public BadRequestErrorBody15()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody16(
public BadRequestErrorBody16()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody17(
public BadRequestErrorBody17()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody18(
public BadRequestErrorBody18()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody19(
public BadRequestErrorBody19()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody2(
public BadRequestErrorBody2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody20(
public BadRequestErrorBody20()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody21(
public BadRequestErrorBody21()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody22(
public BadRequestErrorBody22()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody23(
public BadRequestErrorBody23()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody24(
public BadRequestErrorBody24()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody25(
public BadRequestErrorBody25()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody26(
public BadRequestErrorBody26()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody27(
public BadRequestErrorBody27()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody28(
public BadRequestErrorBody28()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody29(
public BadRequestErrorBody29()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody3(
public BadRequestErrorBody3()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody30(
public BadRequestErrorBody30()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody4(
public BadRequestErrorBody4()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody5(
public BadRequestErrorBody5()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody6(
public BadRequestErrorBody6()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody7(
public BadRequestErrorBody7()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody8(
public BadRequestErrorBody8()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public BadRequestErrorBody9(
public BadRequestErrorBody9()
{
}

}
}
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/Cohere.Models.BaseModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,6 @@ public BaseModel(
public BaseModel()
{
}

}
}
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/Cohere.Models.Batch.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,6 @@ public Batch(
public Batch()
{
}

}
}
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/Cohere.Models.BatchError.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ public BatchError(
public BatchError()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class CancelBatchResponse
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();

}
}
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/Cohere.Models.ChatCitation.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ public ChatCitation(
public ChatCitation()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public bool TryPickStream(
return IsStream;
}

/// <summary>
///
/// </summary>
public global::Cohere.ChatStreamEvent PickStream() => IsStream
? Stream!
: throw new global::System.InvalidOperationException($"Expected union variant 'Stream' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickLg3v2o(
value = Lg3v2o;
return IsLg3v2o;
}

/// <summary>
///
/// </summary>
public global::Cohere.ChatCitationGenerationEventLg3v2o PickLg3v2o() => IsLg3v2o
? Lg3v2o!
: throw new global::System.InvalidOperationException($"Expected union variant 'Lg3v2o' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ public ChatCitationGenerationEventLg3v2o(
public ChatCitationGenerationEventLg3v2o()
{
}

}
}
Loading