Here are common categories and problems that cause installation issues.
Installation
- Node isn’t installed
- Node version is outdated (run:
npm install @latest -g
)
- Yarn isn’t installed on your machine (run:
npm install -g yarn
)
- .env file is missing.
- .env file contains the wrong credentials (or clashes with global environment variables).
OpenAI
Pinecone
- Invalid environment and index name in your .env file.
- Your environment is restricted to gcp-starter on the free plan. This environment is limited and cannot use namespaces or delete all vectors. The solution here is to either upgrade to a paid plan allowing you to change environment OR use a different vectorstore i.e. supabase.
- Vector dimensions is not set to 1536.
- Pinecone namespace is not in lowercase.
- Attempting to query by integer. Pinecone stores vectors in uuid.
- Pinecone indexes of users on the Starter(free) plan are deleted after 7 days of inactivity. To prevent this, send an API request to Pinecone to reset the counter before 7 days.
- Pinecone index is corrupted. Retry from scratch with a new Pinecone project, index, and cloned repo.
Files