Get set up for the hands-on exercises
Cet exercice fait partie du cours
Text-to-Query Agents with MongoDB and LangGraph
Instructions
Follow the instructions to create your MongoDB cluster and add the connection string to the MONGODB_URI environment variable.
- Initialize a MongoDB Python client using your
MONGODB_URIenvironment variable. - Check the connection to your cluster using a "ping" command.
Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice