Class GroqCloudCompletionOptions
Inheritance
object
GroqCloudCompletionOptions
Assembly: .dll
Syntax
public class GroqCloudCompletionOptions : ICompletionOptions, IGENOptions
Properties
Api
Declaration
Property Value
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
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
Whether to enable parallel function calling during tool use.
Defaults to true.
Declaration
public bool? ParallelToolCalls { get; set; }
Property Value
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
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
Specifies how to output reasoning tokens
Declaration
public GroqCloudTypes.ReasoningFormat? ReasoningFormat { get; set; }
Property Value
SearchSettings
Settings for web search functionality when the model uses a web search tool.
Declaration
public WebSearchSettings SearchSettings { get; set; }
Property Value
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
Store
This parameter is not currently supported.
Declaration
public bool? Store { get; set; }
Property Value
TopLogprobs
Number of top log probabilities to return per token.
Range: 0–20 (if supported).
Declaration
public int? TopLogprobs { get; set; }
Property Value
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
Implements