Table of Contents

Class AttachmentReference

Namespace
FoundationaLLM.Common.Models.ResourceProviders.Attachment
Assembly
FoundationaLLM.Common.dll

Contains a reference to an attachment.

public class AttachmentReference : FileReference
Inheritance
AttachmentReference
Inherited Members
Extension Methods

Properties

ResourceType

The object type of the resource.

[JsonIgnore]
[JsonIgnore]
public override Type ResourceType { get; }

Property Value

Type

SecondaryProvider

Indicates an optional secondary provider for the attachment.

public string? SecondaryProvider { get; set; }

Property Value

string

Remarks

The only secondary provider currently supported is the FoundationaLLM.AzureOpenAI provider.

SecondaryProviderObjectId

Gets or sets the object identifier of the secondary provider of the attachment.

public string? SecondaryProviderObjectId { get; set; }

Property Value

string

Remarks

The only secondary provider currently supported is FoundationaLLM.AzureOpenAI. In this case, the object identifier is the Azure OpenAI file identifier.