Class AttachmentProperties
- Namespace
- FoundationaLLM.Common.Models.Orchestration.Request
- Assembly
- FoundationaLLM.Common.dll
Provides a set of properties that are used to define an attachment.
public class AttachmentProperties
- Inheritance
-
AttachmentProperties
- Inherited Members
- Extension Methods
Properties
ContentType
The content type of the attachment.
[JsonPropertyName("content_type")]
public required string ContentType { get; set; }
Property Value
OriginalFileName
The original file name of the attachment.
[JsonPropertyName("original_file_name")]
public required string OriginalFileName { get; set; }
Property Value
Provider
The name of the provider that is used to manage the attachment.
[JsonPropertyName("provider")]
public required string Provider { get; set; }
Property Value
Remarks
The following file providers are supported:
- FoundationaLLM.Attachment
- FoundationaLLM.AzureOpenAI
ProviderFileName
The file name of the attachment that is stored by the provider.
[JsonPropertyName("provider_file_name")]
public required string ProviderFileName { get; set; }
Property Value
Remarks
In the case of the FoundationaLLM.Attachment provider, this is the full path of the file in the storage account.
In the case of the FoundationaLLM.AzureOpenAI provider, this is the OpenAI file ID.
ProviderStorageAccountName
The name of the storage account that is used by the provider.
[JsonPropertyName("provider_storage_account_name")]
public string? ProviderStorageAccountName { get; set; }