Releases: RageAgainstThePixel/com.openai.unity
Releases · RageAgainstThePixel/com.openai.unity
com.openai.unity 7.7.6
What's Changed
- Added support for streaming text to speech
- Added AudioEndpoit.CreateSpeechStreamAsync(SpeechRequest, Action, CancellationToken)
- Added support for Audio Transcription and Translation verbose json output
- Added support for timestamp granularities for segments and words
- Marked CreateTranscriptionAsync obsolete
- Added CreateTranscriptionTextAsync
- Added CreateTranscriptionJsonAsync
- Marked CreateTranspationAsync obsolete
- Added CreateTranslationTextAsync
- Added CreateTranslationJsonAsync
- Updated SpeechResponseFormat to include wav and pcm
Full Changelog: 7.7.5...7.7.6
com.openai.unity 7.7.5
What's Changed
- Allow FunctionPropertyAttribute to be assignable to fields
- Updated Function schema generation
- Fall back to complex types, and use $ref for discovered types
- Fixed schema generation to properly assign unsigned integer types
- Updated com.utilities.rest -> 2.5.4
Full Changelog: 7.7.4...7.7.5
com.openai.unity 7.7.4
What's Changed
- Fixed Threads.RunResponse.WaitForStatusChangeAsync timeout
Full Changelog: 7.7.3...7.7.4
com.openai.unity 7.7.3
What's Changed
- Updated ChatRequest toolChoice to only send type and name of function, reducing token usage
Full Changelog: 7.7.2...7.7.3
com.openai.unity 7.7.2
What's Changed
- Added FunctionParameterAttribute to help better inform the feature how to format the Function json
Full Changelog: 7.7.1...7.7.2
com.openai.unity 7.7.1
What's Changed
- More Function utilities and invoking methods
- Added FunctionPropertyAttribute to help better inform the feature how to format the Function json
- Added FromFunc<,> overloads for convenance
- Fixed invoke args sometimes being casting to wrong type
- Added additional protections for static and instanced function calls
- Added additional tool utilities:
- Tool.ClearRegisteredTools
- Tool.IsToolRegistered(Tool) - Tool.TryRegisterTool(Tool)
- Updated Sample Chat Behaviour with updated tool implementations
- com.utilities.rest -> 2.5.3
Full Changelog: 7.7.0...7.7.1
com.openai.unity 7.7.0
What's Changed
- Added
Tool
call andFunction
call Utilities and helper methods - Added
FunctionAttribute
to decorate methods to be identified and used in function calling Chat.Message.ToolCalls
can be directly invoked usingFunction.Invoke()
orFunction.InvokeAsync(CancellationToken)
- Assistant tool call outputs can be easily generated using
assistnat.GetToolOutputAsync(run.RequiredAction.SubmitToolOutputs.ToolCalls)
- Check updated docs for more details and examples
- Fixed
ChatRequest
seed parameter not being set correctly when using tools
Full Changelog: 7.3.6...7.7.0
com.openai.unity 7.3.6
What's Changed
- updated com.utilities.rest -> 2.5.2
- updated com.utilities.encoder.wav -> 1.1.5
Full Changelog: 7.3.5...7.3.6
com.openai.unity 7.3.5
What's Changed
- Updated api key prefix checks to only be enforced for OpenAI domain
- Fixed file name collisions when generating speech clips in parallel
Full Changelog: 7.3.4...7.3.5
com.openai.unity 7.3.4
What's Changed
- removed obsolete completions and edit endpoints
- removed com.utilities.encoder.ogg
- updated com.utilities.rest -> 2.5.1
- updated docs
Full Changelog: 7.3.3...7.3.4