Class FileContent
- Namespace
- FoundationaLLM.Common.Models.ResourceProviders
- Assembly
- FoundationaLLM.Common.dll
Holds the content of an OpenAI file.
public class FileContent : ResourceBase
- Inheritance
-
FileContent
- Inherited Members
- Extension Methods
Properties
BinaryContent
The binary content of the file.
[JsonIgnore]
public ReadOnlyMemory<byte>? BinaryContent { get; set; }
Property Value
ContentType
The content type of the file.
[JsonPropertyName("content_type")]
public required string ContentType { get; set; }
Property Value
OriginalFileName
The original file name of the file.
[JsonPropertyName("original_file_name")]
public required string OriginalFileName { get; set; }