# langchain-pinecone
This package contains the LangChain integration with Pinecone.
## Installation
```bash
pip install -U langchain-pinecone
```
And you should configure credentials by setting the following environment variables:
- `PINECONE_API_KEY`
- `PINECONE_INDEX_NAME`
## Usage
The `PineconeVectorStore` class exposes the connection to the Pinecone vector store.
```python
from langchain_pinecone import PineconeVectorStore
embeddings = ... # use a LangChain Embeddings class
vectorstore = PineconeVectorStore(embeddings=embeddings)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/langchain-ai/langchain",
"name": "langchain-pinecone",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/8c/e4/811c0bb951698bd09d0ea621d903c050aedb5f2defd33356ae40473f443f/langchain_pinecone-0.1.1.tar.gz",
"platform": null,
"description": "# langchain-pinecone\n\nThis package contains the LangChain integration with Pinecone.\n\n## Installation\n\n```bash\npip install -U langchain-pinecone\n```\n\nAnd you should configure credentials by setting the following environment variables:\n\n- `PINECONE_API_KEY`\n- `PINECONE_INDEX_NAME`\n\n## Usage\n\nThe `PineconeVectorStore` class exposes the connection to the Pinecone vector store.\n\n```python\nfrom langchain_pinecone import PineconeVectorStore\n\nembeddings = ... # use a LangChain Embeddings class\n\nvectorstore = PineconeVectorStore(embeddings=embeddings)\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An integration package connecting Pinecone and LangChain",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/langchain-ai/langchain",
"Repository": "https://github.com/langchain-ai/langchain",
"Source Code": "https://github.com/langchain-ai/langchain/tree/master/libs/partners/pinecone"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5f48f9332bdc73f340a9b55923b14a8cd1fd5601daabb49cd665b789630633c3",
"md5": "20c6a6f1f68e6797f2e7ece511f752d1",
"sha256": "d2c2d11664533d75f9a5afa9a16e2a300f45e3f584250585c7145a8694298a21"
},
"downloads": -1,
"filename": "langchain_pinecone-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "20c6a6f1f68e6797f2e7ece511f752d1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.8.1",
"size": 8367,
"upload_time": "2024-05-16T02:38:51",
"upload_time_iso_8601": "2024-05-16T02:38:51.149277Z",
"url": "https://files.pythonhosted.org/packages/5f/48/f9332bdc73f340a9b55923b14a8cd1fd5601daabb49cd665b789630633c3/langchain_pinecone-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8ce4811c0bb951698bd09d0ea621d903c050aedb5f2defd33356ae40473f443f",
"md5": "75c3ad7b26154bc5f794b11a5631cf84",
"sha256": "e33492443ede67c56ed08b0cf8642a1fd93585869cb5afd23606b429f1b2c61a"
},
"downloads": -1,
"filename": "langchain_pinecone-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "75c3ad7b26154bc5f794b11a5631cf84",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.8.1",
"size": 7887,
"upload_time": "2024-05-16T02:38:52",
"upload_time_iso_8601": "2024-05-16T02:38:52.086218Z",
"url": "https://files.pythonhosted.org/packages/8c/e4/811c0bb951698bd09d0ea621d903c050aedb5f2defd33356ae40473f443f/langchain_pinecone-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-16 02:38:52",
"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-pinecone"
}