Skip to content

Groq

Reference


The LPU Inference Engine by Groq is a hardware and software platform that delivers exceptional compute speed, quality, and energy efficiency.

Categories: [artificial-intelligence]

Version: 1


Connections

Version: 1

Bearer Token

Properties

NameTypeControl TypeDescription
TokenSTRINGTEXT

Actions

Ask

Ask anything you want.

Properties

NameTypeControl TypeDescription
ModelSTRINGTEXTID of the model to use.
Messages[{STRING(content), STRING(role)}]ARRAY_BUILDERA list of messages comprising the conversation so far.
Response formatINTEGERSELECTIn which format do you want the response to be in?
Max tokensINTEGERINTEGERThe maximum number of tokens to generate in the chat completion.
Number of chat completion choicesINTEGERINTEGERHow many chat completion choices to generate for each input message.
TemperatureNUMBERNUMBERControls randomness: Higher values will make the output more random, while lower values like will make it more focused and deterministic.
Top PNUMBERNUMBERAn alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
Frequency penaltyNUMBERNUMBERNumber between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model’s likelihood to repeat the same line verbatim.
Presence penaltyNUMBERNUMBERNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model’s likelihood to talk about new topics.
Logit bias{}OBJECT_BUILDERModify the likelihood of specified tokens appearing in the completion.
Stop[STRING]ARRAY_BUILDERUp to 4 sequences where the API will stop generating further tokens.
Functions[STRING]ARRAY_BUILDEREnter the names of functions you want to use.
UserSTRINGTEXTA unique identifier representing your end-user, which can help admins to monitor and detect abuse.