HostedFileContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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) |