Releases: RageAgainstThePixel/OpenAI-DotNet
Releases · RageAgainstThePixel/OpenAI-DotNet
OpenAI-DotNet 8.0.0
What's Changed
- Updated Assistants Beta v2
- Added support for specifying project id
- Added BatchEndpoint
- Added VectorStoresEndpoint
- Added Message.ctr to specify specific tool call id, function name, and content
- Renamed OpenAI.Images.ResponseFormat to OpenAI.Images.ImageResponseFormat
- Changed ThreadEndpoint.CancelRunAsync return type from RunResponse to bool
- Fixed Json defined Tools/Functions being improperly added to tool cache
- Added Tool.TryUnregisterTool to remove a tool from the cache
Full Changelog: v7.7.8...v8.0.0
OpenAI-DotNet 7.7.8
What's Changed
-
OpenAI-DotNet 7.7.8 by @StephenHodgson in #293
- Updated OpenAIClientSettings.ctr to allow for domain http protocol override (i.e. http://localhost:8080 or http://0.0.0.0:8080)
- Updated OpenAIClientSettings.BaseRequest public for easier access when implementing custom proxies.
- Updated OpenAIClientSettings.IsAzureDeployment public for easier access when implementing custom proxies.
-
OpenAI-DotNet-Proxy 7.7.8 by @StephenHodgson in #293
- Added OpenAIProxyStartup.CreateWebApplication to create modern WebApplication
- Updated OpenAI-DotNet-Test-Proxy to use WebApplication implementation
Full Changelog: v7.7.7...v7.7.8
OpenAI-DotNet 7.7.7
What's Changed
- OpenAI-DotNet 7.7.7 by @StephenHodgson in #282
- 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 by @EssentialNRG
- Fixed temperature to string conversion to be invariant culture for audio requests
- Fixed type checking built in function tool calls
- Updated static models list
Full Changelog: v7.7.6...v7.7.7
OpenAI-DotNet 7.7.6
What's Changed
- OpenAI-DotNet 7.7.6 by @StephenHodgson in #268
- 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
- Added support for Audio Transcription and Translation verbose json output
Full Changelog: v7.7.5...v7.7.6
OpenAI-DotNet 7.7.5
What's Changed
- OpenAI-DotNet 7.7.5 by @StephenHodgson in #258
- 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
Full Changelog: v7.7.4...v7.7.5
OpenAI-DotNet 7.7.4
What's Changed
- OpenAI-DotNet 7.7.4 by @StephenHodgson in #254
- Fixed Threads.RunResponse.WaitForStatusChangeAsync timeout
Full Changelog: v7.7.3...v7.7.4
OpenAI-DotNet 7.7.3
What's Changed
- OpenAI-DotNet 7.7.3 by @StephenHodgson in #252
- Updated ChatRequest toolChoice to only send type and name of function, reducing token usage
Full Changelog: v7.7.2...v7.7.3
OpenAI-DotNet 7.7.2
What's Changed
- OpenAI-DotNet 7.7.2 by @StephenHodgson in #250
- Added FunctionParameterAttribute to help better inform the feature how to format the Function json
Full Changelog: v7.7.1...v7.7.2
OpenAI-DotNet 7.7.1
What's Changed
- OpenAI-DotNet 7.7.1 by @StephenHodgson in #247
- 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)
- Improved memory usage and performance by propertly disposing http content and response objects
- Updated debug output to be formatted to json for easier reading and debugging
- More Function utilities and invoking methods
Full Changelog: v7.7.0...v7.7.1
OpenAI-DotNet 7.7.0
What's Changed
- OpenAI-DotNet 7.7.0 by @StephenHodgson in #241
- 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
- Added
Full Changelog: v7.6.5...v7.7.0