Releases: RageAgainstThePixel/OpenAI-DotNet
Releases · RageAgainstThePixel/OpenAI-DotNet
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
OpenAI-DotNet 7.6.5
What's Changed
- OpenAI-DotNet 7.6.5 by @StephenHodgson in #234
- Updated api key prefix checks to only be enforced for OpenAI domain
Full Changelog: v7.6.4...v7.6.5
OpenAI-DotNet 7.6.4
What's Changed
- OpenAI-DotNet 7.6.4 by @StephenHodgson in #231
- Removed obsolete completions and edit endpoints
Full Changelog: v7.6.3...v7.6.4
OpenAI-DotNet 7.6.3
What's Changed
- OpenAI-DotNet 7.6.3 by @StephenHodgson in #229
- Added RetrieveFileStreamAsync method to Files.FilesEndpoint by @gritse
- Added new Embedding Models by @Mitch528
- 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: v7.6.2...v7.6.3
OpenAI-DotNet 7.6.2
What's Changed
- OpenAI-DotNet 7.6.2 by @StephenHodgson in #222
- Fixed parameter name in Threads.CreateMessageRequest
- Added Stream overload to Threads.FileUploadRequest
Full Changelog: v7.6.1...v7.6.2
OpenAI-DotNet 7.6.1
What's Changed
- OpenAI-DotNet 7.6.1 by @StephenHodgson in #215
- Include Output in Threads.FunctionCall by @Pizzajongen
Full Changelog: v7.6.0...v7.6.1
OpenAI-DotNet 7.6.0
What's Changed
- OpenAI-DotNet 7.6.0 by @StephenHodgson in #213
- Changed License to MIT
- Added OpenAI.Chat logprob parameters
- Added SourceLink references for debugging
- Added Docfx build workflow
Full Changelog: v7.5.0...v7.6.0