次の方法で共有


OpenAIServiceCollectionExtensions Class

Definition

Sponsor extensions class for IServiceCollection.

public static class OpenAIServiceCollectionExtensions
type OpenAIServiceCollectionExtensions = class
Public Module OpenAIServiceCollectionExtensions
Inheritance
OpenAIServiceCollectionExtensions

Methods

AddOpenAIAudioToText(IServiceCollection, String, OpenAIClient, String)

Adds the OpenAI audio-to-text service to the list.

AddOpenAIAudioToText(IServiceCollection, String, String, String, String)

Adds the OpenAI audio-to-text service to the list.

AddOpenAIChatCompletion(IServiceCollection, String, OpenAIClient, String)

Adds the OpenAI chat completion service to the list.

AddOpenAIChatCompletion(IServiceCollection, String, String, String, String)

Adds the OpenAI chat completion service to the list.

AddOpenAIChatCompletion(IServiceCollection, String, Uri, String, String, String)

Adds the Custom OpenAI chat completion service to the list.

AddOpenAIFiles(IServiceCollection, String, String, String)
Obsolete.

Adds the OpenAIFileService to the IServiceCollection.

AddOpenAITextEmbeddingGeneration(IServiceCollection, String, OpenAIClient, String, Nullable<Int32>)

Adds the OpenAITextEmbeddingGenerationService to the IServiceCollection.

AddOpenAITextEmbeddingGeneration(IServiceCollection, String, String, String, String, Nullable<Int32>)

Adds the OpenAITextEmbeddingGenerationService to the IServiceCollection.

AddOpenAITextToAudio(IServiceCollection, String, String, String, String)

Adds the OpenAI text-to-audio service to the list.

AddOpenAITextToImage(IServiceCollection, String, String, String, String)

Add the OpenAI Dall-E text to image service to the list

Applies to