Prompting the Data Agent to generate data
To add data to either a local database or a database connection, prompt the Data Agent.
You can provide details to further shape the data, and optionally tell the Data Agent to use its own judgment for some elements of the data.
For example: Create 70 customers. Each customer has 1-3 orders. Each order has 1-5 products. You can choose the distribution of the customers throughout the United States.
The Data Agent can ask clarifying questions to help determine the data volume and distribution. The Data Agent pulls from a wide range of built-in skills to generate the data. Based on the types and formats of data that you ask for, the Data Agent can automatically pull in npm packages to help with the data generation. If you have a specific npm package that you want to use, you can also prompt the Data Agent to retrieve and use it.
For a database connection, if you have another populated database connection to work from as a resource, you can base the generated data on that database connection.
For example:
Populate the transactions database using the same profile as the prod database, but scale up the data volume to 1,000 customers. Use the same products as the prod database.
Unless you specify otherwise, for a database connection, Fabricate generates all new data. You can also add records to a database:
Add another 500 customers to the transactions database while maintaining the existing profile.
Last updated
Was this helpful?