Class VectorizationResult
- 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
ObjectIdstringThe object id to which the result refers to.
IsSuccessboolIndicates whether the execution was completed successfully.
ErrorMessagestringWhen 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
IsSuccess
Indicates whether the execution was completed successfully.
[JsonPropertyName("is_success")]
public bool IsSuccess { get; init; }
Property Value
ObjectId
The object id to which the result refers to.
[JsonPropertyName("object_id")]
public string ObjectId { get; init; }