pashpashpash / vault-ai

OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
https://vault.pash.city
MIT License
3.27k stars 308 forks source link

Uploadhandler Error: API key is incorrect #42

Closed yunmemory closed 1 year ago

yunmemory commented 1 year ago

When I tried to upload a PDF for testing, I got an error message saying my API was wrong, but I'm pretty confident that the API key I was using is correct. Any advice on this error? Thanks a lot!

""" 2023/04/23 16:52:36 [UploadHandler ERR] Error getting embeddings: error, status code: 401, message: Incorrect API key provided: echo "sk****_key. You can find your API key at https://platform.openai.com/account/api-keys. """

yunmemory commented 1 year ago

nm, I made a dumb mistake