Skip to content

Releases: RageAgainstThePixel/com.openai.unity

com.openai.unity 7.7.9

08 May 15:21
Compare
Choose a tag to compare

What's Changed

  • Fixed Chat sample in 2021.3 LTS

Full Changelog: 7.7.8...7.7.9

com.openai.unity 7.7.8

04 May 00:57
Compare
Choose a tag to compare

What's Changed

  • Updated OpenAISettingsInfo.ctr to allow for domain http protocol override (i.e. http://localhost:8080 or http://0.0.0.0:8080)
  • Updated OpenAISettingsInfo.BaseRequest public for easier access when implementing custom proxies.
  • Updated OpenAISettingsInfo.IsAzureDeployment public for easier access when implementing custom proxies.
  • Updated com.utilities.rest -> 2.5.6

Full Changelog: 7.7.7...7.7.8

com.openai.unity 7.7.7

21 Apr 05:32
Compare
Choose a tag to compare

What's Changed

  • Updated static models list
    • Added gpt-4-turbo
    • Marked some models as deprecated since they are no longer available
  • Added temperature to CreateRunRequest and CreateThreadAndRunRequest
  • Fixed temperature to string conversion to be invariant culture for audio requests
  • Fixed type checking built in function tool calls

Full Changelog: 7.7.6...7.7.7

com.openai.unity 7.7.6

19 Mar 01:40
Compare
Choose a tag to compare

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

03 Mar 23:50
Compare
Choose a tag to compare

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

29 Feb 01:58
Compare
Choose a tag to compare

What's Changed

  • Fixed Threads.RunResponse.WaitForStatusChangeAsync timeout

Full Changelog: 7.7.3...7.7.4

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