共用方式為


Microsoft.SemanticKernel.Connectors.OpenAI Namespace

Classes

OpenAIAudioToTextExecutionSettings

Execution settings for OpenAI audio-to-text request.

OpenAIAudioToTextService

OpenAI text-to-audio service.

OpenAIChatCompletionService

OpenAI chat completion service.

OpenAIChatMessageContent

OpenAI specialized chat message content

OpenAIFileReference

References an uploaded file by id.

OpenAIFileService

File service access for OpenAI: https://api.openai.com/v1/files

OpenAIFileUploadExecutionSettings

Execution serttings associated with Open AI file upload UploadContentAsync(BinaryContent, OpenAIFileUploadExecutionSettings, CancellationToken).

OpenAIFunction

Represents a function that can be passed to the OpenAI API

OpenAIFunctionParameter

Represents a function parameter that can be passed to an OpenAI function tool call.

OpenAIFunctionReturnParameter

Represents a function return parameter that can be returned by a tool call to OpenAI.

OpenAIFunctionToolCall

Represents an OpenAI function tool call with deserialized function name and arguments.

OpenAIKernelFunctionMetadataExtensions

Extensions for KernelFunctionMetadata specific to the OpenAI connector.

OpenAIMemoryBuilderExtensions

Provides extension methods for the MemoryBuilder class to configure OpenAI connector.

OpenAIPluginCollectionExtensions

Extension methods for IReadOnlyKernelPluginCollection.

OpenAIPromptExecutionSettings

Execution settings for an OpenAI completion request.

OpenAIStreamingChatMessageContent

OpenAI specialized streaming chat message content.

OpenAITextEmbeddingGenerationService

OpenAI implementation of ITextEmbeddingGenerationService

OpenAITextToAudioExecutionSettings

Execution settings for OpenAI text-to-audio request.

OpenAITextToAudioService

OpenAI text-to-audio service.

OpenAITextToImageService

OpenAI text to image service.

ToolCallBehavior

Represents a behavior for OpenAI tool calls.

Structs

OpenAIFilePurpose

Defines the purpose associated with the uploaded file: https://platform.openai.com/docs/api-reference/files/object#files/object-purpose