Prepare your OpenAI API key
Prepare your OpenAI API key: The OpenAI API key is used for vectorization of the documents and queries. If you don't have an OpenAI API key, you can get one from https://beta.openai.com/account/api-keys. Once you get your key, please add it by getpass. import getpass openai.api_key = getpass.getpass('Input your OpenAI API key:')