Use this sample app to interact with assistants you have created in the Pinecone console. This app allows you to create a deployable Next.js application to interact with your assistants and their uploaded files.
- Pinecone Assistant
- Next.js + Python + Tailwind + Flask Backend
- Node version 20 or higher
Use npx create-pinecone-app to adopt this project quickly.
This will clone the project, and prompt you for necessary secrets. Make sure you've created your assistant and uploaded your files in the Pinecone console at this point.
Grab an API key here
Before you start, this application requires you to build Pinecone Assistant in the Console first. You'll also need to upload files to this assistant. Any set of PDF files will do!
In order to isolate Python dependencies, create a conda environment and install the dependencies there.
conda create -n pinecone-assistant-env python=3.12
conda activate pinecone-assistant-envcd pinecone-assistant && npm install --forceThen, launch the app:
npm run devThis will start the backend Python server as well as install dependencies in your conda environment. Navigate to localhost:3000 to see the app.
TODO