Skip to main content

langchain-groq

Welcome to Groq! 🚀

At Groq, we've developed the world's first Language Processing Unit™, or LPU. The Groq LPU has a deterministic, single core streaming architecture that sets the standard for GenAI inference speed with predictable and repeatable performance for any given workload.

Beyond the architecture, our software is designed to empower developers like you with the tools you need to create innovative, powerful AI applications. With Groq as your engine, you can:

  • Achieve uncompromised low latency and performance for real-time AI and HPC inferences 🔥
  • Know the exact performance and compute time for any given workload 🔮
  • Take advantage of our cutting-edge technology to stay ahead of the competition 💪

Want more Groq? Check out our website for more resources and join our Discord community to connect with our developers!

Installation and Setup

Install the integration package:

pip install gigachain-groq

Request an API key and set it as an environment variable

export GROQ_API_KEY=gsk_...

Chat Model

See a usage example.

Development

To develop the langchain-groq package, you'll need to follow these instructions:

Install dev dependencies

poetry install --with test,test_integration,lint,codespell

Build the package

poetry build

Run unit tests

Unit tests live in tests/unit_tests and SHOULD NOT require an internet connection or a valid API KEY. Run unit tests with

make tests

Run integration tests

Integration tests live in tests/integration_tests and require a connection to the Groq API and a valid API KEY.

make integration_tests

Lint & Format

Run additional tests and linters to ensure your code is up to standard.

make lint spell_check check_imports

Metadata

Release files for gigachain-groq 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gigachain-groq 0.1.9
File Size Uploaded
gigachain_groq-0.1.9.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gigachain-groq 0.1.9
File Interpreter ABI Platform
gigachain_groq-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / gigachain_groq-0.1.9.tar.gz

Download URL gigachain_groq-0.1.9.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cff725f23abb9076febbbbbff6ad81b7dd7806cd70be212211a6784be898df4e
BLAKE2b-256 checksum
How to use checksums
174f2820f5e00a007fde846b6fac4bfd92993dc0aa8d9c423afa2a68c776b525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0

Release files / gigachain_groq-0.1.9-py3-none-any.whl

Download URL gigachain_groq-0.1.9-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f34210243a056590d04386ae98f61154f4096b64adae20fd1958ddebab12db07
BLAKE2b-256 checksum
How to use checksums
67fceed775a445bf566d3e369a1034d48a418236715e6b75f288f292ac731aa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page