diff --git a/OpenAI/Packages/com.openai.unity/Documentation~/README.md b/OpenAI/Packages/com.openai.unity/Documentation~/README.md index f630a89c..46a1ae5f 100644 --- a/OpenAI/Packages/com.openai.unity/Documentation~/README.md +++ b/OpenAI/Packages/com.openai.unity/Documentation~/README.md @@ -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) @@ -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) diff --git a/OpenAI/Packages/com.openai.unity/Runtime/Files/FileResponse.cs b/OpenAI/Packages/com.openai.unity/Runtime/Files/FileResponse.cs index b4f1ec8d..8788e8d4 100644 --- a/OpenAI/Packages/com.openai.unity/Runtime/Files/FileResponse.cs +++ b/OpenAI/Packages/com.openai.unity/Runtime/Files/FileResponse.cs @@ -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, @@ -38,7 +38,7 @@ public FileResponse( [Preserve] [JsonProperty("bytes")] - public int Size { get; } + public int? Size { get; } [Preserve] [JsonProperty("created_at")] diff --git a/OpenAI/Packages/com.openai.unity/package.json b/OpenAI/Packages/com.openai.unity/package.json index 7863d1ce..f6c668e2 100644 --- a/OpenAI/Packages/com.openai.unity/package.json +++ b/OpenAI/Packages/com.openai.unity/package.json @@ -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", diff --git a/README.md b/README.md index 140cc399..8aabe4e8 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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)