This is the official n8n community node for interacting with Pinecone Assistant in your workflows.
Pinecone Assistant allows you to build production-grade chat and agent-based applications quickly. It abstracts the complexities of implementing retrieval-augmented (RAG) systems by managing the chunking, embedding, storage, query planning, vector search, model orchestration, reranking for you.
Follow the installation guide in the n8n community nodes documentation.
- List all the Assistants in the your project
- List all files for an Assistant
- Upload a file to an Assistant
- Update a file in an Assistant
- Delete file from an Assistant
- Get context snippets from an Assistant
To use the Pinecone Assistant node, you'll need a Pinecone account and an API key. You can get started for free on the Starter plan (refer to current pricing and limits for more info).
- Sign up for a Pinecone account
- Create an API key
This node was tested locally against n8n 1.121.3.
Refer to our Pinecone Assistant quickstart for n8n to get started with a pre-built workflow using this node, an Assistant, and Open AI.
- n8n community nodes documentation
- Link to app/service documentation.
- V1
To develop, build, and run this node locally, use the n8n-node cli tool or pnpm. For more info on n8n-node, refer here.
- Install dependencies
$ cd n8n-nodes-pinecone-assistant
$ pnpm install- Build the node
This compiles Typescript files and bundles project assets into the dist folder.
$ pnpm run buildRunning this will clean the dist folder.
- Test the node
This runs a local instance of n8n with the node. It watches the project directory and automatically rebuilds when changes are detected.
$ pnpm run devHead over to http://localhost:5678 to test the node in a workflow.
- Run tests
Run the unit test suite.
$ pnpm test- Versioning the node
When making changes to a version of the node, ensure backwards compatibility with the current version. If it cannot be backwards compatible, create a new version:
- In
PineconeAssistant.node.ts, changedefaultVersionto the new version number - In
PineconeAssistant.node.ts, update the list ofnodeVersions - Add a new version directory, named
v#(i.e.v2) - In the new version directory, add the versioned node,
PineconeAssistantV2.node.tsand all all functionality.
- Release the node and publish to npm
Login to npm.
$ pnpm loginThe release command builds, lints, updates the changelog, creates git tags, creates a GitHub release, and publishes the package to npm.
$ pnpm run releaseWe welcome contributions! Please feel free to:
- Submit issues and bug reports
- Propose new features and improvements
- Contribute code via pull requests
- Share your use cases and success stories
This project is licensed under the MIT License - see the LICENSE file for details.