Class ContextFileContent
- Namespace
- FoundationaLLM.Common.Models.Context
- Assembly
- FoundationaLLM.Common.dll
Represents the content of a file.
public class ContextFileContent
- Inheritance
-
ContextFileContent
- Inherited Members
- Extension Methods
Properties
ContentType
Gets or sets the content type of the file.
[JsonPropertyName("content_type")]
public required string ContentType { get; set; }
Property Value
FileContent
Gets or sets the stream containing the binary file content.
[JsonPropertyName("file_content")]
public Stream? FileContent { get; set; }
Property Value
FileName
Gets or sets the name of the file.
[JsonPropertyName("file_name")]
public required string FileName { get; set; }