Releases: RageAgainstThePixel/com.openai.unity
Releases · RageAgainstThePixel/com.openai.unity
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
com.openai.unity 7.3.3
What's Changed
- Added new Embedding Models
- Added Model.Dimensions property
- Added Threads.Run and Threads.RunStep Usage properties
- Added CodeInterpreter Outputs to RunStepDetails.ToolCalls
- Added Retrieval Outputs to RunStepDetails.ToolCalls
Full Changelog: 7.3.2...7.3.3
com.openai.unity 7.3.2
What's Changed
- Fixed parameter name in Threads.CreateMessageRequest
- Added Stream overload to Threads.FileUploadRequest
Full Changelog: 7.3.1...7.3.2
com.openai.unity 7.3.1
What's Changed
- Include Output in Threads.FunctionCall by @Pizzajongen
- Refactor OpenAI Dashboard by @StephenHodgson
Full Changelog: 7.3.0...7.3.1