# 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](https://groq.com) for more resources and join our [Discord community](https://discord.gg/JvNsBDKeCG) to connect with our developers!
## Installation and Setup
Install the integration package:
```bash
pip install langchain-groq
```
Request an [API key](https://wow.groq.com) and set it as an environment variable
```bash
export GROQ_API_KEY=gsk_...
```
## Chat Model
See a [usage example](https://python.langchain.com/docs/integrations/chat/groq).
## Development
To develop the `langchain-groq` package, you'll need to follow these instructions:
### Install dev dependencies
```bash
poetry install --with test,test_integration,lint,codespell
```
### Build the package
```bash
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
```bash
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.
```bash
make integration_tests
```
### Lint & Format
Run additional tests and linters to ensure your code is up to standard.
```bash
make lint spell_check check_imports
```
Raw data
{
"_id": null,
"home_page": "https://github.com/langchain-ai/langchain",
"name": "langchain-groq",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/41/1f/e806d8fe2ca7c7d3c64ce7450accf90cfac730f20a8630550d17cc365516/langchain_groq-0.2.2.tar.gz",
"platform": null,
"description": "# langchain-groq\n\n## Welcome to Groq! \ud83d\ude80\n\nAt Groq, we've developed the world's first Language Processing Unit\u2122, 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.\n\nBeyond 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:\n\n* Achieve uncompromised low latency and performance for real-time AI and HPC inferences \ud83d\udd25\n* Know the exact performance and compute time for any given workload \ud83d\udd2e\n* Take advantage of our cutting-edge technology to stay ahead of the competition \ud83d\udcaa\n\nWant more Groq? Check out our [website](https://groq.com) for more resources and join our [Discord community](https://discord.gg/JvNsBDKeCG) to connect with our developers!\n\n\n## Installation and Setup\nInstall the integration package:\n\n```bash\npip install langchain-groq\n```\n\nRequest an [API key](https://wow.groq.com) and set it as an environment variable\n\n```bash\nexport GROQ_API_KEY=gsk_...\n```\n\n## Chat Model\nSee a [usage example](https://python.langchain.com/docs/integrations/chat/groq).\n\n## Development\n\nTo develop the `langchain-groq` package, you'll need to follow these instructions:\n\n### Install dev dependencies\n\n```bash\npoetry install --with test,test_integration,lint,codespell\n```\n\n### Build the package\n\n```bash\npoetry build\n```\n\n### Run unit tests\n\nUnit tests live in `tests/unit_tests` and SHOULD NOT require an internet connection or a valid API KEY. Run unit tests with\n\n```bash\nmake tests\n```\n\n### Run integration tests\n\nIntegration tests live in `tests/integration_tests` and require a connection to the Groq API and a valid API KEY.\n\n```bash\nmake integration_tests\n```\n\n### Lint & Format\n\nRun additional tests and linters to ensure your code is up to standard.\n\n```bash\nmake lint spell_check check_imports\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An integration package connecting Groq and LangChain",
"version": "0.2.2",
"project_urls": {
"Homepage": "https://github.com/langchain-ai/langchain",
"Release Notes": "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-groq%3D%3D0%22&expanded=true",
"Repository": "https://github.com/langchain-ai/langchain",
"Source Code": "https://github.com/langchain-ai/langchain/tree/master/libs/partners/groq"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "56489ee597ab5b21dc7a166328a518ead1d28e02f70989a26f3b774276324552",
"md5": "41fde4d01a330863917feb75c07a1598",
"sha256": "227c9db26861894d2e310cb20190f35f3713765558976e929a48714a32431eef"
},
"downloads": -1,
"filename": "langchain_groq-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "41fde4d01a330863917feb75c07a1598",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 14338,
"upload_time": "2024-12-18T22:43:55",
"upload_time_iso_8601": "2024-12-18T22:43:55.159308Z",
"url": "https://files.pythonhosted.org/packages/56/48/9ee597ab5b21dc7a166328a518ead1d28e02f70989a26f3b774276324552/langchain_groq-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "411fe806d8fe2ca7c7d3c64ce7450accf90cfac730f20a8630550d17cc365516",
"md5": "0b6507082764beba29678bc63c85efe3",
"sha256": "eefc938255aff869789d90785279b5b990ef08e1bc81150133d9a788285111c6"
},
"downloads": -1,
"filename": "langchain_groq-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "0b6507082764beba29678bc63c85efe3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 14810,
"upload_time": "2024-12-18T22:43:57",
"upload_time_iso_8601": "2024-12-18T22:43:57.128076Z",
"url": "https://files.pythonhosted.org/packages/41/1f/e806d8fe2ca7c7d3c64ce7450accf90cfac730f20a8630550d17cc365516/langchain_groq-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-18 22:43:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "langchain-ai",
"github_project": "langchain",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "langchain-groq"
}