Skip to content

Commit

Permalink
OpenAI-DotNet 7.4.3
Browse files Browse the repository at this point in the history
- Updated FileResponse.Size int -> int?
  • Loading branch information
StephenHodgson authored Dec 7, 2023
1 parent 0138115 commit bf4ba9b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion OpenAI-DotNet/Files/FileResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal FileResponse(FileData file)
/// </summary>
[JsonInclude]
[JsonPropertyName("bytes")]
public int Size { get; private set; }
public int? Size { get; private set; }

/// <summary>
/// The Unix timestamp (in seconds) for when the file was created.
Expand Down
4 changes: 3 additions & 1 deletion OpenAI-DotNet/OpenAI-DotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ More context [on Roger Pincombe's blog](https://rogerpincombe.com/openai-dotnet-
<RepositoryUrl>https://github.com/RageAgainstThePixel/OpenAI-DotNet</RepositoryUrl>
<PackageTags>OpenAI, AI, ML, API, gpt-4, gpt-3.5-tubo, gpt-3, chatGPT, chat-gpt, gpt-2, gpt, dall-e-2, dall-e-3</PackageTags>
<Title>OpenAI-DotNet</Title>
<Version>7.4.2</Version>
<Version>7.4.3</Version>
<PackageReleaseNotes>
Version 7.4.3
- Updated FileResponse.Size int -&gt; int?
Version 7.4.2
- Fixed missing Threads.Message.Content.ImageFile property.
- Marked OpenAI.Completions Obsolete
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,22 +91,22 @@ Install-Package OpenAI-DotNet
- [Create Speech](#create-speech)
- [Create Transcription](#create-transcription)
- [Create Translation](#create-translation)
- [Images](#images) :construction:
- [Create Image](#create-image) :construction:
- [Edit Image](#edit-image) :construction:
- [Create Image Variation](#create-image-variation) :construction:
- [Files](#files) :construction:
- [List Files](#list-files) :construction:
- [Images](#images)
- [Create Image](#create-image)
- [Edit Image](#edit-image)
- [Create Image Variation](#create-image-variation)
- [Files](#files)
- [List Files](#list-files)
- [Upload File](#upload-file)
- [Delete File](#delete-file)
- [Retrieve File](#retrieve-file-info) :construction:
- [Retrieve File](#retrieve-file-info)
- [Download File Content](#download-file-content)
- [Fine Tuning](#fine-tuning) :construction:
- [Create Fine Tune Job](#create-fine-tune-job) :construction:
- [List Fine Tune Jobs](#list-fine-tune-jobs) :construction:
- [Retrieve Fine Tune Job Info](#retrieve-fine-tune-job-info) :construction:
- [Fine Tuning](#fine-tuning)
- [Create Fine Tune Job](#create-fine-tune-job)
- [List Fine Tune Jobs](#list-fine-tune-jobs)
- [Retrieve Fine Tune Job Info](#retrieve-fine-tune-job-info)
- [Cancel Fine Tune Job](#cancel-fine-tune-job)
- [List Fine Tune Job Events](#list-fine-tune-job-events) :construction:
- [List Fine Tune Job Events](#list-fine-tune-job-events)
- [Embeddings](#embeddings)
- [Create Embedding](#create-embeddings)
- [Moderations](#moderations)
Expand Down

0 comments on commit bf4ba9b

Please sign in to comment.