Add credentials

Why need credentials?

This app use OpenAI API to do completion, embedding, and use Pinecone as a vector store to index and search doc. Both of them are not free. The code is open source, your credentials will not be saved on the server.

If you are a developer, ideally you want to host this app yourself and pass credentials as environment variable.

How to add credentials?

  1. 1. Create an API keys from Open AIOpenAI API Key
  2. 2. Create an API key from PineconeOpenAI API Key
  3. 3. Create an index with the following settings: Create a new index in Pinecone
  4. 4. [Optional] Create a Github Personal Token to ingest markdown files from a public Github repo. You do not need to select any scopes for this script.Create a new Github personal token