Skip to content

Commit

Permalink
Merge pull request #49 from betalgo/dev
Browse files Browse the repository at this point in the history
v6.6.2
  • Loading branch information
kayhantolga authored Dec 31, 2022
2 parents ef696de + 875d638 commit 8d29178
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,14 @@ public IList<string>? PromptCalculated
/// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop
/// sequence.
/// </summary>
[JsonIgnore]
public string? Stop { get; set; }

/// <summary>
/// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop
/// sequence.
/// </summary>
[JsonIgnore]
public IList<string>? StopAsList { get; set; }

[JsonPropertyName("stop")]
Expand Down
2 changes: 1 addition & 1 deletion OpenAI.SDK/OpenAI.GPT3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageProjectUrl>https://openai.com/</PackageProjectUrl>
<PackageIcon>OpenAI-Betalgo.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>6.6.1</Version>
<Version>6.6.2</Version>
<Authors>Tolga Kayhan, Betalgo</Authors>
<Company>Betalgo Up Ltd.</Company>
<Product>OpenAI GPT-3 and DALL·E dotnet SDK</Product>
Expand Down
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ As you can guess I do not accept any damage caused by use of the library. You ar


## Changelog
### 6.6.2
* Bug-fix,added jsonignore for `stop` and `stopAsList`, thanks to @Patapum

### 6.6.1
* **Breaking change**.
* `EmbeddingCreateRequest.Input` was a ***string list*** type now it is a ***string*** type.
Expand Down

0 comments on commit 8d29178

Please sign in to comment.