Table of Contents

Class DeepSeekImageFileContent

Namespace
Mythosia.AI.Models.Messages
Assembly
Mythosia.AI.dll

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

fileId string

Properties

FileId

public string FileId { get; }

Property Value

string

Type

public override string Type { get; }

Property Value

string

Methods

EstimateTokens()

Conservatively reserves the provider's maximum 1024 image tokens because remote dimensions are unknown.

public override uint EstimateTokens()

Returns

uint

GetDescription()

Gets a display-friendly description of the content

public override string GetDescription()

Returns

string

ToRequestFormat(string)

Converts the content to the appropriate format for the specified AI provider

public override object ToRequestFormat(string provider)

Parameters

provider string

Returns

object