Setting Connection & Initializing
1. Setting Up the Datalake Connection
Before using Promptlake, a MongoDB connection must be established within Datalake.
What This Does
Initializes a Datalake instance.
Sets up MongoDB as a connection inside a data pipeline.
Executes all configured connections and stores them in a dictionary for easy access.
2. Initializing Promptlake
After setting up the Datalake connection, Promptlake can be initialized.
This class provides structured methods for storing and retrieving prompts.
It directly interacts with the MongoDB connection from Datalake.
Last updated