OpenAI-DotNet

A Non-Official OpenAI RESTful API Client for DotNet

MIT License

Stars
690
Committers
2

Bot releases are hidden (Show)

OpenAI-DotNet - OpenAI-DotNet 8.1.2 Latest Release

Published by StephenHodgson 2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v8.1.1...v8.1.2

OpenAI-DotNet - OpenAI-DotNet 8.1.1

Published by StephenHodgson 4 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v8.1.0...v8.1.1

OpenAI-DotNet - OpenAI-DotNet 8.1.0

Published by StephenHodgson 4 months ago

What's Changed

  • OpenAI-DotNet 8.1.0 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/334
    • Fixed streaming event race conditions where the subscriber to the stream would finish before steam events were executed
    • Refactored streaming events callbacks from Action<IServerSentEvent> to Func<IServerSentEvent, Task>
    • Added Exception data to OpenAI.Error response
    • Added ChatEndpoint.StreamCompletionAsync with Func<ChatResponse, Task> overload

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v8.0.3...v8.1.0

OpenAI-DotNet - OpenAI-DotNet 8.0.3

Published by StephenHodgson 4 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v8.0.2...v8.0.3

OpenAI-DotNet - OpenAI-DotNet 8.0.2

Published by StephenHodgson 4 months ago

What's Changed

  • OpenAI-DotNet 8.0.2 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/329
    • Fixed Thread.Message.Attachement serialization
    • Fixed CreateAssistantRequest to properly copy all override assistant properties
    • Fixed some objects that are chunked, were not properly being appended to the final object
    • Added FileSearchOptions to Tool.FileSearch
    • Added some additional constructor overloads for CodeInterpreterResources
    • Added some additional constructor overloads for VectorStoreRequest
    • Thread.DeleteAsync and Assistant.DeleteAsync now fetch the latest before deleting when deleteToolResources is also requested
    • Refactored the way Function handles reflected invocations for both synchronous and asynchronous calls
      • Function.InvokeAsync will now properly also call synchronous invocations in the tool call collection
    • Refactored Threads/Assistant Unit Tests

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v8.0.1...v8.0.2

OpenAI-DotNet - OpenAI-DotNet 8.0.1

Published by StephenHodgson 4 months ago

What's Changed

  • Fixed Thread.Run.Status enum ordering

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v8.0.0...v8.0.1

OpenAI-DotNet - OpenAI-DotNet 8.0.0

Published by StephenHodgson 4 months ago

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: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.8...v8.0.0

OpenAI-DotNet - OpenAI-DotNet 7.7.8

Published by StephenHodgson 6 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.7...v7.7.8

OpenAI-DotNet - OpenAI-DotNet 7.7.7

Published by StephenHodgson 6 months ago

What's Changed

  • OpenAI-DotNet 7.7.7 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/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

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.6...v7.7.7

OpenAI-DotNet - OpenAI-DotNet 7.7.6

Published by StephenHodgson 7 months ago

What's Changed

  • OpenAI-DotNet 7.7.6 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/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

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.5...v7.7.6

OpenAI-DotNet - OpenAI-DotNet 7.7.5

Published by StephenHodgson 8 months ago

What's Changed

  • OpenAI-DotNet 7.7.5 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/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: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.4...v7.7.5

OpenAI-DotNet - OpenAI-DotNet 7.7.4

Published by StephenHodgson 8 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.3...v7.7.4

OpenAI-DotNet - OpenAI-DotNet 7.7.3

Published by StephenHodgson 8 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.2...v7.7.3

OpenAI-DotNet - OpenAI-DotNet 7.7.2

Published by StephenHodgson 8 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.1...v7.7.2

OpenAI-DotNet - OpenAI-DotNet 7.7.1

Published by StephenHodgson 8 months ago

What's Changed

  • OpenAI-DotNet 7.7.1 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/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

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.7.0...v7.7.1

OpenAI-DotNet - OpenAI-DotNet 7.7.0

Published by StephenHodgson 8 months ago

What's Changed

  • OpenAI-DotNet 7.7.0 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/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

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.6.5...v7.7.0

OpenAI-DotNet - OpenAI-DotNet 7.6.5

Published by StephenHodgson 9 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.6.4...v7.6.5

OpenAI-DotNet - OpenAI-DotNet 7.6.4

Published by StephenHodgson 9 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.6.3...v7.6.4

OpenAI-DotNet - OpenAI-DotNet 7.6.3

Published by StephenHodgson 9 months ago

What's Changed

  • OpenAI-DotNet 7.6.3 by @StephenHodgson in https://github.com/RageAgainstThePixel/OpenAI-DotNet/pull/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: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.6.2...v7.6.3

OpenAI-DotNet - OpenAI-DotNet 7.6.2

Published by StephenHodgson 9 months ago

What's Changed

Full Changelog: https://github.com/RageAgainstThePixel/OpenAI-DotNet/compare/v7.6.1...v7.6.2