Share via


HostedFileContent Class

Definition

Represents a file that is hosted by the AI service.

public ref class HostedFileContent sealed : Microsoft::Extensions::AI::AIContent
public sealed class HostedFileContent : Microsoft.Extensions.AI.AIContent
type HostedFileContent = class
    inherit AIContent
Public NotInheritable Class HostedFileContent
Inherits AIContent
Inheritance
HostedFileContent

Remarks

Unlike DataContent which contains the data for a file or blob, this class represents a file that is hosted by the AI service and referenced by an identifier. Such identifiers are specific to the provider.

Constructors

HostedFileContent(String)

Initializes a new instance of the HostedFileContent class.

Properties

AdditionalProperties

Gets or sets additional properties for the content.

(Inherited from AIContent)
Annotations

Gets or sets a list of annotations on this content.

(Inherited from AIContent)
FileId

Gets or sets the ID of the hosted file.

RawRepresentation

Gets or sets the raw representation of the content from an underlying implementation.

(Inherited from AIContent)

Applies to