AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class GroqCloudCompletionOptions

    Inheritance
    object
    GroqCloudCompletionOptions
    Implements
    ICompletionOptions
    IGENOptions
    Namespace: Glitch9.AIDevKit.GroqCloud
    Assembly: .dll
    Syntax
    public class GroqCloudCompletionOptions : ICompletionOptions, IGENOptions

    Properties

    Api

    Declaration
    public Api Api { get; }
    Property Value
    Type Description
    Api

    FrequencyPenalty

    Penalizes tokens that occur frequently across the generated content. Range: -2.0–2.0 (typical: 0–1.0).

    Declaration
    public float? FrequencyPenalty { get; set; }
    Property Value
    Type Description
    float?

    LogitBias

    Biases specific tokens by ID. Use to influence token selection. Key = token ID (as string), Value = bias (-100 to 100, 0 = no bias).

    Declaration
    public Dictionary<string, double> LogitBias { get; set; }
    Property Value
    Type Description
    Dictionary<string, double>

    Logprobs

    Whether to return log probabilities of the Output tokens or not. If true, returns the log probabilities of each Output token returned in the content of message. This option is currently not available on the gpt-4-vision-preview model. Defaults to 0.

    Declaration
    public int? Logprobs { get; set; }
    Property Value
    Type Description
    int?

    ParallelToolCalls

    Whether to enable parallel function calling during tool use. Defaults to true.

    Declaration
    public bool? ParallelToolCalls { get; set; }
    Property Value
    Type Description
    bool?

    PresencePenalty

    Penalizes tokens already present in the generated content. Range: -2.0–2.0 (typical: 0–1.0).

    Declaration
    public float? PresencePenalty { get; set; }
    Property Value
    Type Description
    float?

    ReasoningEffort

    this field is only available for qwen3 models. Set to 'none' to disable reasoning. Set to 'default' or null to let Qwen reason.

    Declaration
    public GroqCloudTypes.ReasoningEffort? ReasoningEffort { get; set; }
    Property Value
    Type Description
    GroqCloudTypes.ReasoningEffort?

    ReasoningFormat

    Specifies how to output reasoning tokens

    Declaration
    public GroqCloudTypes.ReasoningFormat? ReasoningFormat { get; set; }
    Property Value
    Type Description
    GroqCloudTypes.ReasoningFormat?

    SearchSettings

    Settings for web search functionality when the model uses a web search tool.

    Declaration
    public WebSearchSettings SearchSettings { get; set; }
    Property Value
    Type Description
    WebSearchSettings

    ServiceTier

    The service tier to use for the request. Defaults to on_demand. auto will automatically select the highest tier available within the rate limits of your organization. flex uses the flex tier, which will succeed or fail quickly.

    Declaration
    public GroqCloudTypes.ServiceTier? ServiceTier { get; set; }
    Property Value
    Type Description
    GroqCloudTypes.ServiceTier?

    Store

    This parameter is not currently supported.

    Declaration
    public bool? Store { get; set; }
    Property Value
    Type Description
    bool?

    TopLogprobs

    Number of top log probabilities to return per token. Range: 0–20 (if supported).

    Declaration
    public int? TopLogprobs { get; set; }
    Property Value
    Type Description
    int?

    TopP

    Top-P sampling (nucleus sampling): limits the next token selection to a cumulative probability. Range: 0.0–1.0 (typical: 0.9).

    Declaration
    public float? TopP { get; set; }
    Property Value
    Type Description
    float?

    Implements

    ICompletionOptions
    IGENOptions
    In this article
    Back to top Generated by DocFX