Table of Contents

Class ContextServiceResponse<T>

Namespace
FoundationaLLM.Common.Models.Context
Assembly
FoundationaLLM.Common.dll

Represents a response from the FoundationaLLM Context API.

public class ContextServiceResponse<T> where T : class

Type Parameters

T

The type of the expected result.

Inheritance
ContextServiceResponse<T>
Inherited Members
Extension Methods

Properties

ErrorMessage

Gets or sets the error message if the operation was not successful.

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

Property Value

string

Result

Gets or sets the result of the operation.

[JsonPropertyName("result")]
public T? Result { get; set; }

Property Value

T

Success

Gets or sets a value indicating whether the operation was successful.

[JsonPropertyName("success")]
public required bool Success { get; set; }

Property Value

bool