com.openai.unity

A Non-Official OpenAI Rest Client for Unity (UPM)

MIT License

Stars
455
Committers
4

Bot releases are visible (Hide)

com.openai.unity - com.openai.unity 7.7.3

Published by StephenHodgson 8 months ago

What's Changed

  • Updated ChatRequest toolChoice to only send type and name of function, reducing token usage

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.7.2...7.7.3

com.openai.unity - com.openai.unity 7.7.2

Published by StephenHodgson 8 months ago

What's Changed

  • Added FunctionParameterAttribute to help better inform the feature how to format the Function json

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.7.1...7.7.2

com.openai.unity - com.openai.unity 7.7.1

Published by StephenHodgson 8 months ago

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: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.7.0...7.7.1

com.openai.unity - com.openai.unity 7.7.0

Published by StephenHodgson 8 months ago

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: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.6...7.7.0

com.openai.unity - com.openai.unity 7.3.6

Published by StephenHodgson 8 months ago

What's Changed

  • updated com.utilities.rest -> 2.5.2
  • updated com.utilities.encoder.wav -> 1.1.5

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.5...7.3.6

com.openai.unity - com.openai.unity 7.3.5

Published by StephenHodgson 9 months ago

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: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.4...7.3.5

com.openai.unity - com.openai.unity 7.3.4

Published by StephenHodgson 9 months ago

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: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.3...7.3.4

com.openai.unity - com.openai.unity 7.3.3

Published by StephenHodgson 9 months ago

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: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.2...7.3.3

com.openai.unity - com.openai.unity 7.3.2

Published by StephenHodgson 9 months ago

What's Changed

  • Fixed parameter name in Threads.CreateMessageRequest
  • Added Stream overload to Threads.FileUploadRequest

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.1...7.3.2

com.openai.unity - com.openai.unity 7.3.1

Published by StephenHodgson 10 months ago

What's Changed

  • Include Output in Threads.FunctionCall by @Pizzajongen
  • Refactor OpenAI Dashboard by @StephenHodgson

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.3.0...7.3.1

com.openai.unity - com.openai.unity 7.3.0

Published by StephenHodgson 10 months ago

What's Changed

  • added OpenAI.Chat top log prob parameters
  • com.utilities.rest -> 2.4.5
  • com.utilities.encoder.wav -> 1.1.4
  • com.utilities.encoder.ogg -> 3.1.2
  • updated workflows
  • updated tests
  • updated editor 2022.3.16 LTS

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.2.1...7.3.0

com.openai.unity - com.openai.unity 7.2.1

Published by StephenHodgson 10 months ago

What's Changed

  • fix ImageResult.CachedPath calculation

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.2.0...7.2.1

com.openai.unity - com.openai.unity 7.2.0

Published by StephenHodgson 10 months ago

What's Changed

  • Reverted Audio.Transcription encoding back to wav
  • Added transcription input to chat sample scene

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.1.4...7.2.0

com.openai.unity - com.openai.unity 7.1.4

Published by StephenHodgson 10 months ago

What's Changed

  • removed EmptyToNullStringContractResolver from global json serialization settings
  • updated Chat.Message.CopyFrom content check from string.IsNullOrEmpty to null check
  • updated Chat.Message.CopyFrom to directly assign content backing field

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.1.3...7.1.4

com.openai.unity - com.openai.unity 7.1.3

Published by StephenHodgson 10 months ago

What's Changed

  • Fixed dictionary metadata deserialization for AOT platforms

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.1.2...7.1.3

com.openai.unity - com.openai.unity 7.1.2

Published by StephenHodgson 10 months ago

What's Changed

  • attempt to fix some serialization errors
  • fixed some unit tests

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.1.1...7.1.2

com.openai.unity - com.openai.unity 7.1.1

Published by StephenHodgson 10 months ago

What's Changed

  • fixed menu item name

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.1.0...7.1.1

com.openai.unity - com.openai.unity 7.1.0

Published by StephenHodgson 10 months ago

What's Changed

  • Refactor ImagesEndpoint
    • Changed all endpoint signatures to IReadOnlyList<ImageResult>
  • Fix Text To Speech generation for webgl
  • Updated Chat sample with image generation capabilities

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.0.5...7.1.0

com.openai.unity - com.openai.unity 7.0.5

Published by StephenHodgson 10 months ago

What's Changed

  • Fixed OpenAISettings configuration lookup

Full Changelog: https://github.com/RageAgainstThePixel/com.openai.unity/compare/7.0.4...7.0.5

com.openai.unity - com.openai.unity 7.0.4

Published by StephenHodgson 10 months ago

Badges
Extracted from project README
Discord openupm openupm NuGet version (OpenAI-DotNet-Proxy)