๐ Setup prerequisites
Set the passkey provided by your workshop instructor, and run the cells under the Step 1: Setup prerequisites section in the notebook.
Expired passkey OR don't have a passkeyโ
Passkeys are provided to you at MongoDB Developer Days to easily get API keys for LLM and embedding APIs that are used in the workshop. These passkeys are valid for 3 days after the workshop.
Once the passkey expires, or if you weren't at a MongoDB Developer Day recently, you will need to obtain the following API keys for the workshop:
VoyageAI
- Follow the steps here to obtain a Voyage AI API key.
- Set the
VOYAGE_API_KEY
environment variable in the notebook as follows:
os.environ["VOYAGE_API_KEY"] = "your-voyageai-api-key"
If you are running the lab locallyโ
If you aren't using Instruqt or GitHub Codespaces to run the lab and instead running it locally, you will need to do the following additional steps:
-
Spin up a free MongoDB Atlas cluster and obtain its connection string:
- Register for a free MongoDB Atlas account if you don't already have one
- Create a new database cluster
- Obtain the connection string for your database cluster
-
Set the
MONGODB_URI
variable in the notebook as follows:
MONGODB_URI = "your_connection_string"