groq_sdk library

Classes

ChatEvent
Is the type received by the chat stream
It can be a request or a response
The request just contains the message
The response contains the message and the resource usage
Example:
Groq
GroqChat
GroqChatSettings
GroqChoice
GroqConversationItem
GroqError
GroqLLMModel
GroqMessage
GroqMessageRoleParser
GroqModels
GroqModels holds a list of available models
GroqRateLimitInformation
GroqResponse
GroqToolCall
GroqToolItem
Represents an individual tool that can be registered and used with Groq API.
GroqToolParameter
Represents a parameter for a Groq tool.
GroqUsage
RequestChatEvent
Is the type received by the chat stream
It contains the message to be sent to the chat
Example:
ResponseChatEvent
Is the type received by the chat stream
It contains the response from the chat and the resource usage
Example:

Enums

GroqLlamaGuardCategory
GroqMessageRole
GroqToolParameterType
Represents the data type of a Groq tool parameter.

Constants

gemma_7b → const String
llama3_70b → const String
llama3_8b → const String
mixtral8_7b → const String
whisper_large_v3 → const String