Skip to content

Repository files navigation

openai-csharp

This SDK is managed by the SDK Fabric project, a global infrastructure to automatically generate SDKs for every API.

You can find more information about this SDK at TypeHub: https://app.typehub.cloud/d/sdkfabric/openai

Usage

using SdkFabric.Openai.Client;

Client client = Client.Build("[access_token]")

// Creates a model response for the given chat conversation.
Completion_Response response = client.Completions().create(new Completion_Request());

// Delete a stored chat completion.
Completion_Deleted response = client.Completions().delete("completion_id");

// List stored Chat Completions.
Completion_Collection response = client.Completions().getAll("after", 1, "model", "order");

// Creates a model response.
Response_Response response = client.Responses().create(new Response_Request());

About

Openai C# SDK managed by SDK Fabric

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages