AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Enum StopReason

    Reason that a ChatCompletion request stopped generating tokens.

    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public enum StopReason

    Fields

    Name Description
    MaxTokens

    The maximum number of tokens as specified in the request was reached.

    None

    Default value (Unused).

    Other

    Unknown reason.

    Recitation

    The content was flagged for recitation reasons.

    Safety

    The content was flagged for safety reasons.

    Stop

    Natural stop point of the model or provided stop sequence.

    ToolCalls

    The model called a tool, or function_call.

    In this article
    Back to top Generated by DocFX