Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 1, 2024
1 parent 363411c commit ea5506a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ partial void ProcessOpenaiChatCompletionsResponseContent(
/// up to 16 sequences where the API will stop generating further tokens
/// </param>
/// <param name="n">
/// number of sequences to return. n != 1 incompatible with streaming<br/>
/// number of sequences to return<br/>
/// Default Value: 1
/// </param>
/// <param name="presencePenalty">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ partial void ProcessOpenaiCompletionsResponseContent(
/// Default Value: 0
/// </param>
/// <param name="n">
/// number of sequences to return. n != 1 incompatible with streaming<br/>
/// number of sequences to return<br/>
/// Default Value: 1
/// </param>
/// <param name="stream">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public partial interface IDeepInfraApi
/// up to 16 sequences where the API will stop generating further tokens
/// </param>
/// <param name="n">
/// number of sequences to return. n != 1 incompatible with streaming<br/>
/// number of sequences to return<br/>
/// Default Value: 1
/// </param>
/// <param name="presencePenalty">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public partial interface IDeepInfraApi
/// Default Value: 0
/// </param>
/// <param name="n">
/// number of sequences to return. n != 1 incompatible with streaming<br/>
/// number of sequences to return<br/>
/// Default Value: 1
/// </param>
/// <param name="stream">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public sealed partial class OpenAIChatCompletionsIn
public global::DeepInfra.AnyOf<string, global::System.Collections.Generic.IList<string>>? Stop { get; set; }

/// <summary>
/// number of sequences to return. n != 1 incompatible with streaming<br/>
/// number of sequences to return<br/>
/// Default Value: 1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("n")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public sealed partial class OpenAICompletionsIn
public int? TopK { get; set; }

/// <summary>
/// number of sequences to return. n != 1 incompatible with streaming<br/>
/// number of sequences to return<br/>
/// Default Value: 1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("n")]
Expand Down
8 changes: 4 additions & 4 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3840,10 +3840,10 @@ components:
description: up to 16 sequences where the API will stop generating further tokens
n:
title: N
maximum: 2.0
maximum: 4.0
minimum: 1.0
type: integer
description: number of sequences to return. n != 1 incompatible with streaming
description: number of sequences to return
default: 1
presence_penalty:
title: Presence Penalty
Expand Down Expand Up @@ -3948,10 +3948,10 @@ components:
default: 0
n:
title: N
maximum: 2.0
maximum: 4.0
minimum: 1.0
type: integer
description: number of sequences to return. n != 1 incompatible with streaming
description: number of sequences to return
default: 1
stream:
title: Stream
Expand Down

0 comments on commit ea5506a

Please sign in to comment.