You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>[email protected] dev
> next dev
▲ Next.js 14.0.4
- Local: http://localhost:3000
- Environments: .env
✓ Ready in 989ms
✓ Compiled /src/middleware in 145ms (64 modules)
○ Compiling / ...
✓ Compiled / in 6s (2847 modules)
⚠ Fast Refresh had to perform a full reload due to a runtime error.
✓ Compiled /api/checkIndex in 118ms (1462 modules)
✓ Compiled (1651 modules)
⨯ PineconeNotFoundError: A call to https://api.pinecone.io/indexes/pinecone-vercel-starter returned HTTP status 404.
at mapHttpStatusError (webpack-internal:///(rsc)/./node_modules/@pinecone-database/pinecone/dist/errors/http.js:183:20)
at eval (webpack-internal:///(rsc)/./node_modules/@pinecone-database/pinecone/dist/errors/handling.js:170:55)
at step (webpack-internal:///(rsc)/./node_modules/@pinecone-database/pinecone/dist/errors/handling.js:107:23)
at Object.eval [as next] (webpack-internal:///(rsc)/./node_modules/@pinecone-database/pinecone/dist/errors/handling.js:48:20)
at fulfilled (webpack-internal:///(rsc)/./node_modules/@pinecone-database/pinecone/dist/errors/handling.js:11:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: undefined
}
Is this a new bug?
Current Behavior
I just cloned the repo and set up .env
OPENAI_API_KEY=sk-...
Retrieve the following from the Pinecone Console.
Navigate to API Keys under your Project to retrieve the API key and environment
PINECONE_API_KEY=17...
PINECONE_REGION=us-west-2
PINECONE_CLOUD=aws
Navigate to Indexes under your Project to retrieve the Index name
PINECONE_INDEX=pinecone-vercel-starter
The index is newly created with serverless. Looks like the API endpoint is not the same provided by the index
https://pinecone-vercel-starter...pinecone.io
Can we use serverless indexes now?
Expected Behavior
should work
Steps To Reproduce
git clone https://github.com/pinecone-io/pinecone-rag-demo.git
cd pinecone-rag-demo
npm install
set up .env file with a serverless index name
OPENAI_API_KEY=sk-...
Retrieve the following from the Pinecone Console.
Navigate to API Keys under your Project to retrieve the API key and environment
PINECONE_API_KEY=17...
PINECONE_REGION=us-west-2
PINECONE_CLOUD=aws
npm run dev
browser to http://localhost:3000
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: