Partager via


OpenAIKernelBuilderExtensions Class

Definition

Sponsor extensions class for IKernelBuilder.

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

Methods

AddOpenAIAudioToText(IKernelBuilder, String, OpenAIClient, String)

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

AddOpenAIAudioToText(IKernelBuilder, String, String, String, String, HttpClient)

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

AddOpenAIChatCompletion(IKernelBuilder, String, OpenAIClient, String)

Adds the OpenAI chat completion service to the list.

AddOpenAIChatCompletion(IKernelBuilder, String, String, String, String, HttpClient)

Adds the OpenAI chat completion service to the list.

AddOpenAIChatCompletion(IKernelBuilder, String, Uri, String, String, String, HttpClient)

Adds the Custom Endpoint OpenAI chat completion service to the list.

AddOpenAIFiles(IKernelBuilder, String, String, String, HttpClient)
Obsolete.

Adds the OpenAIFileService to the IServiceCollection.

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

Adds the OpenAITextEmbeddingGenerationService to the Services.

AddOpenAITextEmbeddingGeneration(IKernelBuilder, String, String, String, String, HttpClient, Nullable<Int32>)

Adds OpenAITextEmbeddingGenerationService to the Services.

AddOpenAITextToAudio(IKernelBuilder, String, String, String, String, HttpClient)

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

AddOpenAITextToImage(IKernelBuilder, String, String, String, String, HttpClient)

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

Applies to