# 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.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/18/1c/9a04a71f44d1e14f66f2cb18c2fe533b6c5f1311f97da927a31e8ed9272b/langchain_pinecone-0.2.2.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.2.2",
"project_urls": {
"Homepage": "https://github.com/langchain-ai/langchain",
"Release Notes": "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-pinecone%3D%3D0%22&expanded=true",
"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": "4e5291aeebc40051014a143f6aab77afd6a2acf17311ea461709317d804c7419",
"md5": "4d5eeceec38e9f4171898f6b27a52301",
"sha256": "3697455bbf0dc916f82bc4b31c8c1540eda45a4265ed7e108464a1992036c2ea"
},
"downloads": -1,
"filename": "langchain_pinecone-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4d5eeceec38e9f4171898f6b27a52301",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.9",
"size": 11672,
"upload_time": "2025-01-10T20:03:43",
"upload_time_iso_8601": "2025-01-10T20:03:43.233244Z",
"url": "https://files.pythonhosted.org/packages/4e/52/91aeebc40051014a143f6aab77afd6a2acf17311ea461709317d804c7419/langchain_pinecone-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "181c9a04a71f44d1e14f66f2cb18c2fe533b6c5f1311f97da927a31e8ed9272b",
"md5": "ac62cfd1ae764eb96e8371ea3384d6af",
"sha256": "e32e26ce86609427ca4d38ecf8d7bb70c7c4dd5a4138a5f93da46255ded54b58"
},
"downloads": -1,
"filename": "langchain_pinecone-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "ac62cfd1ae764eb96e8371ea3384d6af",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.9",
"size": 10416,
"upload_time": "2025-01-10T20:03:44",
"upload_time_iso_8601": "2025-01-10T20:03:44.180928Z",
"url": "https://files.pythonhosted.org/packages/18/1c/9a04a71f44d1e14f66f2cb18c2fe533b6c5f1311f97da927a31e8ed9272b/langchain_pinecone-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-10 20:03:44",
"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"
}