Prerequisites
- Create an API key for authentication.
-
Save the API key to an environment variable:
-
Install LlamaIndex packages:
Prepare a script
-
Copy the following part of the script:
-
Add one of the following methods, depending on your use case: