You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-groq-0.24.0-1.lbn36.noarch

python3-groq-0.24.0-1.lbn36.noarch

Package Attributes
RPM  python3-groq-0.24.0-1.lbn36.noarch.rpm Architecture  noarch Size  831817 Created  2025/05/13 02:04:18 UTC
Package Specification
Summary The official Python library for the groq API
Group Unspecified
License ZPL
Home Page https://pypi.org/project/groq
Description

Groq Python API library

The Groq Python library provides convenient access to the Groq REST API from any Python 3.8+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx. It is generated with Stainless. Documentation The REST API documentation can be found on console.groq.com. The full API of this library can be found in api.md.

Usage The full API of this library can be found in api.md. import os from groq import Groq

client = Groq( api_key=os.environ.get("GROQ_API_KEY"), # This is the default and can be omitted )

chat_completion = client.chat.completions.create( messages=[ { "role": "user", "content": "Explain the importance of low latency LLMs", } ], model="llama3-8b-8192", ) print(chat_completion.choices[0].message.content)

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(FileDigests)  
Provides
python-groq
python3-groq
python3.10-groq
python3.10dist(groq)
python3dist(groq)
Obsoletes
python-groq

Document Actions