Releases: RageAgainstThePixel/com.openai.unity
Releases · RageAgainstThePixel/com.openai.unity
com.openai.unity 4.8.1
What's Changed
- Updated basic and chat completions choices to default to empty string
- Fixed Completions.CompletionResult.ToString first completion index lookup
Full Changelog: 4.8.0...4.8.1
com.openai.unity 4.8.0
What's Changed
- Removed Obsolete
ChatPrompt
. - Removed Obsolete
FileEndpoint.DownloadFileAsync(string fileId, IProgress<float> progress)
. ChatEndpoint.StreamCompletionAsync
will now also raise additionalChatResponse
with completedMessage
.ChatEndpoint.StreamCompletionEnumerableAsync
will now also raise additionalChatResponse
with completedMessage
.- Refactored all streaming endpoints to use a new string extension for centralized parsing of event stream data
- Added optional parameter
cancelJob
toFineTuningEndpoint.StreamFineTuneEventsEnumerableAsync
. Default is
false. - Added optional parameter
cancelJob
toFineTuningEndpoint.StreamFineTuneEventsAsync
. Default is false. - Updated
Completions.LogProbabilities.TopLogProbabilities
to properly use immutableIReadOnlyList<IReadOnlyDictionary<string, double>>
.
Full Changelog: 4.7.4...4.8.0
com.openai.unity 4.7.4
com.openai.unity 4.7.3
What's changed
- fixed serialization of empty strings, they are now treated as null
- fixed missing name assignment to Chat.Delta
- updated docs
Full Changelog: 4.7.2...4.7.3
com.openai.unity 4.7.2
What's Changed
- Made it easier to specify a specific configuration file path
- Added optional author name property to chat message
- Added implicit string conversions to make ChatResponses easier to work with
- Updated docs
- Updated deps
Full Changelog: 4.7.1...4.7.2
com.openai.unity 4.7.1
What's Changed
- Clarify authentication documentation with recommended usage of API keys
- Fixed parsing old env file format
- Fixed parsing missing ORGANIZATION env vars
- Fixed checking of CancellationToken.IsCancellationRequested in streaming endpoints
Full Changelog: 4.7.0...4.7.1
com.openai.unity 4.7.0
What's Changed
- Deprecated
ChatPrompt
->Message
- Added
Role
enum forChat.Messages
andChat.Delta
- Updated
ChatRequest
constructor to useIEnumerable<Message> messages
- Updated
ChatRequest.Messages
toIReadonlyList<Message>
- Updated unit tests
Full Changelog: 4.6.0...4.7.0
com.openai.unity 4.6.0
What's Changed
- Added
response_format
toImageGenerationRequest
- Refactored Image Requests with AbstractBaseImageRequest
Special thanks to @johnkors for updates in OpenAI-DotNet
Full Changelog: 4.5.4...4.6.0