Skip to content

Commit

Permalink
Merge pull request #24 from tryAGI/bot/update-openapi_202408262118
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 26, 2024
2 parents 56a40e6 + 26ed234 commit 1d7fb2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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; }
public global::HuggingFace.GenerateTextRequestOptionsUseCache? UseCache { get; set; } = true;

/// <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; }
public global::HuggingFace.GenerateTextRequestOptionsWaitForModel? WaitForModel { get; set; } = false;

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
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; }
public global::HuggingFace.GenerateTextRequestParametersReturnFullText? ReturnFullText { get; set; } = true;

/// <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; }
public global::HuggingFace.GenerateTextRequestParametersDoSample? DoSample { get; set; } = true;

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

0 comments on commit 1d7fb2f

Please sign in to comment.