Freigeben über


OpenAIFileUploadExecutionSettings Class

Definition

Caution

Use OpenAI SDK or AzureOpenAI SDK clients for file operations. This class is deprecated and will be removed in a future version.

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

[System.Obsolete("Use OpenAI SDK or AzureOpenAI SDK clients for file operations. This class is deprecated and will be removed in a future version.")]
public sealed class OpenAIFileUploadExecutionSettings
[<System.Obsolete("Use OpenAI SDK or AzureOpenAI SDK clients for file operations. This class is deprecated and will be removed in a future version.")>]
type OpenAIFileUploadExecutionSettings = class
Public NotInheritable Class OpenAIFileUploadExecutionSettings
Inheritance
OpenAIFileUploadExecutionSettings
Attributes

Constructors

OpenAIFileUploadExecutionSettings(String, OpenAIFilePurpose)

Initializes a new instance of the OpenAIFileUploadExecutionSettings class.

Properties

FileName

The file name.

Purpose

The file purpose.

Applies to