Search Results for

    Show / Hide Table of Contents

    Class Choice

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

    Properties

    | Improve this Doc View Source

    FinishReason

    Reason for finishing.

    Declaration
    [JsonPropertyName("finish_reason")]
    public string FinishReason { get; init; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    Index

    Index.

    Declaration
    [JsonPropertyName("index")]
    public int? Index { get; init; }
    Property Value
    Type Description
    int?
    | Improve this Doc View Source

    Logprobs

    Log Prob Model.

    Declaration
    [JsonPropertyName("logprobs")]
    public CompletionsLogProbability Logprobs { get; init; }
    Property Value
    Type Description
    CompletionsLogProbability
    | Improve this Doc View Source

    Message

    The generated completions in the chat format.

    Declaration
    [JsonPropertyName("message")]
    public ChatMessage Message { get; init; }
    Property Value
    Type Description
    ChatMessage
    | Improve this Doc View Source

    Text

    Generated text for given completion prompt.

    Declaration
    [JsonPropertyName("text")]
    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