Skip to content

Releases: RageAgainstThePixel/com.openai.unity

com.openai.unity 7.7.3

27 Feb 23:58
Compare
Choose a tag to compare

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

27 Feb 03:07
Compare
Choose a tag to compare

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

25 Feb 20:42
Compare
Choose a tag to compare

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

22 Feb 00:21
Compare
Choose a tag to compare

What's Changed

  • Added Tool call and Function 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 using Function.Invoke() or Function.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

15 Feb 00:13
Compare
Choose a tag to compare

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

06 Feb 03:49
Compare
Choose a tag to compare

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

29 Jan 03:52
Compare
Choose a tag to compare

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

26 Jan 04:58
Compare
Choose a tag to compare

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

14 Jan 16:02
Compare
Choose a tag to compare

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

06 Jan 15:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.3.0...7.3.1