Search Results for

    Show / Hide Table of Contents

    Class Generation

    Output of a single generation.

    Inheritance
    object
    Generation
    Implements
    IEquatable<Generation>
    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 Generation : IEquatable<Generation>

    Properties

    | Improve this Doc View Source

    Info

    Raw generation info response from the provider May include things like reason for finishing (e.g. in OpenAI)

    Declaration
    public Dictionary<string, object> Info { get; init; }
    Property Value
    Type Description
    Dictionary<string, object>
    | Improve this Doc View Source

    Text

    Generated text output.

    Declaration
    public string Text { get; init; }
    Property Value
    Type Description
    string

    Implements

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