/**
 * Groq Chat Model Node - Version 1
 * Language Model Groq
 */


export interface LcLmChatGroqV1Params {
/**
 * The model which will generate the completion. &lt;a href="https://console.groq.com/docs/models"&gt;Learn more&lt;/a&gt;.
 * @builderHint Keep a working or explicitly requested model unless provider evidence shows it is unavailable or unsuitable. When choosing a new model, select a current stable model supported by this node version, the configured API, and the required operation. Use the declared model-list lookup with the connected credential when available. Gateway credits can restrict that list. For a new choice without credentials, use current provider catalog information. Choose a model that fits the task and budget. Copy the exact model ID. Do not rely on node defaults, invent model IDs, or treat an unfamiliar model as invalid.
 * @default llama3-8b-8192
 */
    model?: string | Expression<string>;
/**
 * Additional options to add
 * @default {}
 */
    options?: {
    /** The maximum number of tokens to generate in the completion
     * @default 4096
     */
    maxTokensToSample?: number | Expression<number>;
    /** Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.
     * @default 0.7
     */
    temperature?: number | Expression<number>;
  };
}

export interface LcLmChatGroqV1Credentials {
  groqApi: CredentialReference;
}

interface LcLmChatGroqV1NodeBase {
  type: '@n8n/n8n-nodes-langchain.lmChatGroq';
  version: 1;
}

export type LcLmChatGroqV1ParamsNode = LcLmChatGroqV1NodeBase & {
  config: NodeConfig<LcLmChatGroqV1Params> & { credentials?: LcLmChatGroqV1Credentials };
};

export type LcLmChatGroqV1Node = LcLmChatGroqV1ParamsNode;