Table of Contents

Class VectorizationArtifact

Namespace
FoundationaLLM.Vectorization.Models
Assembly
FoundationaLLM.Vectorization.Engine.dll

Represents a vectorization artifact.

public class VectorizationArtifact
Inheritance
VectorizationArtifact
Inherited Members
Extension Methods

Properties

CanonicalId

The canonical identifier of the vectorization artifact.

[JsonPropertyOrder(2)]
[JsonPropertyName("canonical_id")]
public string? CanonicalId { get; set; }

Property Value

string

Content

The content of the artifact.

[JsonIgnore]
public string? Content { get; set; }

Property Value

string

ContentHash

The string hash of the vectorization artifact's content.

[JsonPropertyOrder(5)]
[JsonPropertyName("content_hash")]
public string? ContentHash { get; set; }

Property Value

string

IsDirty

Indicates the need to persist the content of the artifact.

[JsonIgnore]
public bool IsDirty { get; set; }

Property Value

bool

Position

The position of the vectorization artifact. This is relevant only for artifact types that can have multiple parts.

[JsonPropertyOrder(3)]
[JsonPropertyName("position")]
public int Position { get; set; }

Property Value

int

Size

The size of the vectorization artifact. The unit of measure is determined by the artifact type.

[JsonPropertyOrder(4)]
[JsonPropertyName("size")]
public int Size { get; set; }

Property Value

int

Type

The type of the vectorization artifact.

[JsonPropertyOrder(1)]
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public VectorizationArtifactType Type { get; set; }

Property Value

VectorizationArtifactType