Class DeepSeekImageFileContent
An immutable reference to an image uploaded with DeepSeek's Files API.
public sealed class DeepSeekImageFileContent : MessageContent
- Inheritance
-
DeepSeekImageFileContent
- Inherited Members
Remarks
The file belongs to the API key used to upload it. This is an image reference, not document input.
Constructors
DeepSeekImageFileContent(string)
public DeepSeekImageFileContent(string fileId)
Parameters
fileIdstring
Properties
FileId
public string FileId { get; }
Property Value
Type
public override string Type { get; }
Property Value
Methods
EstimateTokens()
Conservatively reserves the provider's maximum 1024 image tokens because remote dimensions are unknown.
public override uint EstimateTokens()
Returns
GetDescription()
Gets a display-friendly description of the content
public override string GetDescription()
Returns
ToRequestFormat(string)
Converts the content to the appropriate format for the specified AI provider
public override object ToRequestFormat(string provider)
Parameters
providerstring