Table of Contents

Class VectorizationResult

Namespace
FoundationaLLM.Common.Models.ResourceProviders.Vectorization
Assembly
FoundationaLLM.Common.dll

Represents the result of executing a vectorization action.

public record VectorizationResult : IEquatable<VectorizationResult>
Inheritance
VectorizationResult
Implements
Inherited Members
Extension Methods

Constructors

VectorizationResult(string, bool, string?)

Represents the result of executing a vectorization action.

public VectorizationResult(string ObjectId, bool IsSuccess, string? ErrorMessage)

Parameters

ObjectId string

The object id to which the result refers to.

IsSuccess bool

Indicates whether the execution was completed successfully.

ErrorMessage string

When IsSuccess is false, contains an error message with details.

Properties

ErrorMessage

When IsSuccess is false, contains an error message with details.

[JsonPropertyName("error_message")]
public string? ErrorMessage { get; init; }

Property Value

string

IsSuccess

Indicates whether the execution was completed successfully.

[JsonPropertyName("is_success")]
public bool IsSuccess { get; init; }

Property Value

bool

ObjectId

The object id to which the result refers to.

[JsonPropertyName("object_id")]
public string ObjectId { get; init; }

Property Value

string