Partager via


OpenAIFileReference 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.

References an uploaded file by id.

[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 OpenAIFileReference
[<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 OpenAIFileReference = class
Public NotInheritable Class OpenAIFileReference
Inheritance
OpenAIFileReference
Attributes

Constructors

OpenAIFileReference()

Properties

CreatedTimestamp

The timestamp the file was uploaded.s

FileName

The name of the file.s

Id

The file identifier.

Purpose

Describes the associated purpose of the file.

SizeInBytes

The file size, in bytes.

Applies to