openai / openai-dotnet

The official .NET library for the OpenAI API
https://www.nuget.org/packages/OpenAI
MIT License
1.55k stars 162 forks source link

Document how the code is generated from the OpenAPI spec #201

Open castroal opened 3 months ago

castroal commented 3 months ago

Confirm this is not a feature request for the underlying OpenAI API.

Confirm this is not a feature request for Azure OpenAI.

Describe the feature or improvement you're requesting

In the README, it is stated that the client is generated from the OpenAPI specification. Please document the process for doing this.

HavenDV commented 2 months ago

Yes, I would also be interested to know about this. It's a different approach than Kiota and others I know of.

We also maintain our own fully generated OpenAI SDK for LangChain.NET (https://github.com/tryAGI/OpenAI) with a series of extensions for convenience, and are not yet sure about switching to this if there are delays in updates (which we don't have because it is updated based on GitHub Actions automatically in most cases if there are no breaking changes)

yankarinRG commented 1 month ago

It looks like the client is generated from the OpenAPI spec using AutoRest (doc)