Skip to content

Commit

Permalink
Merge pull request #25 from tryAGI/bot/update-openapi_202408282120
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 28, 2024
2 parents 1d7fb2f + 5e0224c commit d694951
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ public sealed partial class GenerateTextRequestOptions
/// Default Value: true
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("use_cache")]
public global::HuggingFace.GenerateTextRequestOptionsUseCache? UseCache { get; set; } = true;
public object? UseCache { get; set; }

/// <summary>
/// If the model is not ready, wait for it instead of receiving 503. It limits the number of requests required to get your inference done. It is advised to only set this flag to true after receiving a 503 error as it will limit hanging in your application to known places.<br/>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("wait_for_model")]
public global::HuggingFace.GenerateTextRequestOptionsWaitForModel? WaitForModel { get; set; } = false;
public object? WaitForModel { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public sealed partial class GenerateTextRequestParameters
/// Default Value: true
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("return_full_text")]
public global::HuggingFace.GenerateTextRequestParametersReturnFullText? ReturnFullText { get; set; } = true;
public object? ReturnFullText { get; set; }

/// <summary>
/// The number of proposition you want to be returned.<br/>
Expand All @@ -76,7 +76,7 @@ public sealed partial class GenerateTextRequestParameters
/// Default Value: true
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("do_sample")]
public global::HuggingFace.GenerateTextRequestParametersDoSample? DoSample { get; set; } = true;
public object? DoSample { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down

This file was deleted.

This file was deleted.

20 changes: 4 additions & 16 deletions src/libs/HuggingFace/Generated/JsonSerializerContextTypes.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,18 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::HuggingFace.GenerateTextRequestParametersReturnFullText? Type8 { get; set; }
public object? Type8 { get; set; }
/// <summary>
///
/// </summary>
public global::HuggingFace.GenerateTextRequestParametersDoSample? Type9 { get; set; }
public global::HuggingFace.GenerateTextRequestOptions? Type9 { get; set; }
/// <summary>
///
/// </summary>
public global::HuggingFace.GenerateTextRequestOptions? Type10 { get; set; }
public global::System.Collections.Generic.IList<global::HuggingFace.GenerateTextResponseValue>? Type10 { get; set; }
/// <summary>
///
/// </summary>
public global::HuggingFace.GenerateTextRequestOptionsUseCache? Type11 { get; set; }
/// <summary>
///
/// </summary>
public global::HuggingFace.GenerateTextRequestOptionsWaitForModel? Type12 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::HuggingFace.GenerateTextResponseValue>? Type13 { get; set; }
/// <summary>
///
/// </summary>
public global::HuggingFace.GenerateTextResponseValue? Type14 { get; set; }
public global::HuggingFace.GenerateTextResponseValue? Type11 { get; set; }
}
}

0 comments on commit d694951

Please sign in to comment.