Skip to content

Tags: greffgreff/OpenAI-DotNet

Tags

v7.7.5

Toggle v7.7.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.7.5 (RageAgainstThePixel#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

v7.7.4

Toggle v7.7.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.7.4 (RageAgainstThePixel#254)

- Fixed Threads.RunResponse.WaitForStatusChangeAsync timeout

v7.7.3

Toggle v7.7.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.7.3 (RageAgainstThePixel#252)

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

v7.7.2

Toggle v7.7.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.7.2 (RageAgainstThePixel#250)

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

v7.7.1

Toggle v7.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.7.1 (RageAgainstThePixel#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

v7.7.0

Toggle v7.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.7.0 (RageAgainstThePixel#241)

- 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

v7.6.5

Toggle v7.6.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.6.5 (RageAgainstThePixel#234)

- Updated api key prefix checks to only be enforced for OpenAI domain

v7.6.4

Toggle v7.6.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.6.4 (RageAgainstThePixel#231)

- Removed obsolete completions and edit endpoints

v7.6.3

Toggle v7.6.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI-DotNet 7.6.3 (RageAgainstThePixel#229)

- Added RetrieveFileStreamAsync method to Files.FilesEndpoint
- 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

---------

Co-authored-by: gritse <[email protected]>
Co-authored-by: Mitchell Kutchuk <[email protected]>

v7.6.2

Toggle v7.6.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
OpenAI-DotNet 7.6.2 (RageAgainstThePixel#222)

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