Skip to content

Commit

Permalink
com.openai.unity 7.0.3 (#140)
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 e31dc63 commit d7ff611
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
26 changes: 13 additions & 13 deletions OpenAI/Packages/com.openai.unity/Documentation~/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The recommended installation method is though the unity package manager and [Ope

### Table of Contents

- [Authentication](#authentication) :construction:
- [Authentication](#authentication)
- [Azure OpenAI](#azure-openai)
- [Azure Active Directory Authentication](#azure-active-directory-authentication)
- [OpenAI API Proxy](#openai-api-proxy)
Expand Down Expand Up @@ -105,22 +105,22 @@ The recommended installation method is though the unity package manager and [Ope
- [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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed class FileResponse
public FileResponse(
[JsonProperty("id")] string id,
[JsonProperty("object")] string @object,
[JsonProperty("bytes")] int size,
[JsonProperty("bytes")] int? size,
[JsonProperty("created_at")] int createdUnixTimeSeconds,
[JsonProperty("filename")] string fileName,
[JsonProperty("purpose")] string purpose,
Expand All @@ -38,7 +38,7 @@ public FileResponse(

[Preserve]
[JsonProperty("bytes")]
public int Size { get; }
public int? Size { get; }

[Preserve]
[JsonProperty("created_at")]
Expand Down
2 changes: 1 addition & 1 deletion OpenAI/Packages/com.openai.unity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "OpenAI",
"description": "A OpenAI package for the Unity Game Engine to use GPT-4, GPT-3.5, GPT-3 and Dall-E though their RESTful API (currently in beta).\n\nIndependently developed, this is not an official library and I am not affiliated with OpenAI.\n\nAn OpenAI API account is required.",
"keywords": [],
"version": "7.0.2",
"version": "7.0.3",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.openai.unity#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.openai.unity/releases",
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The recommended installation method is though the unity package manager and [Ope

### Table of Contents

- [Authentication](#authentication) :construction:
- [Authentication](#authentication)
- [Azure OpenAI](#azure-openai)
- [Azure Active Directory Authentication](#azure-active-directory-authentication)
- [OpenAI API Proxy](#openai-api-proxy)
Expand Down Expand Up @@ -105,22 +105,22 @@ The recommended installation method is though the unity package manager and [Ope
- [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 d7ff611

Please sign in to comment.