Search Results for

    Show / Hide Table of Contents

    Class ModelResult

    Class that contains all relevant information for an LLM Result.

    Inheritance
    object
    ModelResult
    Implements
    IEquatable<ModelResult>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DotnetPrompt.Abstractions.LLM.Schema
    Assembly: DotnetPrompt.Abstractions.dll
    Syntax
    public record ModelResult : IEquatable<ModelResult>

    Properties

    | Improve this Doc View Source

    Generations

    List of the things generated. This is List[List[]] because each input could have multiple generations/generated completions.

    Declaration
    public IList<IList<Generation>> Generations { get; set; }
    Property Value
    Type Description
    IList<IList<Generation>>
    | Improve this Doc View Source

    Output

    For arbitrary LLM provider specific output.

    Declaration
    public IDictionary<string, object> Output { get; set; }
    Property Value
    Type Description
    IDictionary<string, object>

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2023 © Pavel «xakpc» Osadchuk for DotnetPrompt