Represents the result returned after an inference request.

InferenceResult

interface InferenceResult {
    data: Record<string, any>;
    serverStats: Record<string, any>;
    stats: InferenceStats;
    text: string;
}

Properties

data: Record<string, any>

Additional data related to the inference.

serverStats: Record<string, any>

Additional server-related statistics.

Additional statistics or metadata related to the inference.

text: string

The textual representation of the generated inference.