Crate groq_api_rust
Source - AsyncGroqClient
- An asynchronous client for interacting with the Groq API.
- ChatCompletionMessage
- Represents a message in a chat completion response.
- ChatCompletionRequest
- Represents a request to the OpenAI chat completion API.
- ChatCompletionResponse
- Represents the response from a chat completion API request.
- Choice
- Represents a single choice in a chat completion response.
- GroqClient
- An client for interacting with the Groq API.
- Message
- Represents a message in a chat completion response.
- SpeechToTextRequest
- Represents a request to the speech-to-text API.
- SpeechToTextResponse
- Represents the response from a speech-to-text transcription request.
- Usage
- Represents usage statistics for a chat completion request, including token counts and processing times.
- XGroq
- Represents a GROQ-related data structure.
- ChatCompletionRoles
- Represents the different roles that can be used in a chat completion message.
- GroqError
- Represents errors that can occur when interacting with the GROQ API.