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. Create an API keys from Open AI
- 2. Create an API key from Pinecone
- 3. Create an index with the following settings:
- 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.