Jordan-Gilliam / ai-template

Mercury - Train your own custom GPT. Chat with any file, or website.
The Unlicense
422 stars 66 forks source link

Successful compilation but error once localhost is loaded #5

Closed vcpandya closed 1 year ago

vcpandya commented 1 year ago

PineconeClient: Error getting project name: SyntaxError: Unexpected token A in JSON at position 0 error [Error: PineconeClient: Project name not set. Call init() first.] error - [Error: Failed to fetch Pinecone namespaces

Jordan-Gilliam commented 1 year ago

Are you still getting this error? I updated the README. Make sure you are configuring Pinecone correctly.

vcpandya commented 1 year ago

Are you still getting this error? I updated the README. Make sure you are configuring Pinecone correctly.

Now it works but even after taking Pinecone information in .env file why do we need to enter namespace information again on the frontend?

Jordan-Gilliam commented 1 year ago

Namespace is different than Index. The idea is that you might create one namespace for one set of embeddings and another namespace for a different set of embeddings.