Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwan70 authored Mar 8, 2024
1 parent 0699abb commit 421c90c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,14 @@ In general, keep an eye out in the issues and discussions section of this repo f
- Console.log the env variables and make sure they are exposed.
- Make sure you're using the same versions of LangChain and Pinecone as this repo.
- Check that you've created an .env file that contains your valid (and working) API keys, environment and index name.
- If you change modelName in OpenAI, make sure you have access to the api for the appropriate model.
- Make sure you have enough OpenAI credits and a valid card on your billings account.
- Check that you don't have multiple OPENAPI keys in your global environment. If you do, the local env file from the project will be overwritten by systems env variable.
- Make sure you have enough Cohere credits and a valid card on your billings account.
- Check that you don't have multiple COHERE keys in your global environment. If you do, the local env file from the project will be overwritten by systems env variable.
- Try to hard code your API keys into the process.env variables if there are still issues.

**Pinecone errors**

- Make sure your pinecone dashboard environment and index matches the one in the pinecone.ts and .env files.
- Check that you've set the vector dimensions to 1536.
- Check that you've set the vector dimensions to 1024.
- Make sure your pinecone namespace is in lowercase.
- 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.
- Retry from scratch with a new Pinecone project, index, and cloned repo.

0 comments on commit 421c90c

Please sign in to comment.