Interface ChatGroqInput

Hierarchy

Properties

apiKey?: string

The Groq API key to use for requests.

Default

process.env.GROQ_API_KEY
modelName?: string

The name of the model to use.

Default

"llama2-70b-4096"
stop?: null | string | string[]

Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.

stream?: boolean

Whether or not to stream responses.

temperature?: number

The temperature to use for sampling.

Default

0.7

Generated using TypeDoc