GroqParser class

Constructors

GroqParser()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

audioResponseFromJson(Map<String, dynamic> json) GroqAudioResponse
Parses the audio response information from the json
chatEventFromJson(Map<String, dynamic> json) ChatEvent
groqChoiceFromJson(Map<String, dynamic> json) GroqChoice
Parses the choice information from the json
groqLlamaGuardCategoryFromString(String category) GroqLlamaGuardCategory?
groqMessageFromJson(Map<String, dynamic> json) GroqMessage
Parses the message information from the json
groqResponseFromJson(Map<String, dynamic> json) GroqResponse
groqToolCallFromJson(Map<String, dynamic> json) GroqToolCall
groqToolItemFromChatJson(Map<String, dynamic> json, dynamic Function(Map<String, dynamic>) functionNameToFunction(String)) GroqToolItem
groqToolParameterTypeFromString(String type) GroqToolParameterType
groqUsageFromAudioJson(Map<String, dynamic> json) GroqUsage
groqUsageFromJson(Map<String, dynamic> json) GroqUsage
Parses the usage information from the json
llmModelFromJson(Map<String, dynamic> json) GroqLLMModel
Parses the LLM model information from the json
rateLimitInformationFromHeaders(Map<String, String> headers) GroqRateLimitInformation
Parses the rate limit information from the headers
rateLimitInformationFromJson(Map<String, dynamic> json) GroqRateLimitInformation
settignsFromJson(Map<String, dynamic> json) GroqChatSettings
usagefromJson(Map<String, dynamic> json) GroqUsage