What is a Domain?
A domain is a bounded context or application area that defines the scope of your data generation. Examples of domains include:- Customer support for an e-commerce platform
- Email and calendar productivity tools
- Banking and payment processing
- Healthcare appointment scheduling
What is a Reference Document?
A reference document is a text file (Markdown or plain text) that provides context and instructions for data generation. It describes:- The business context and purpose of your application
- Available functions and their typical use cases
- User characteristics and personas
- Constraints, guidelines, and edge cases
- Examples of typical user requests
Reference Document Example
Here’s an example reference document for an email productivity application:Configuring Reference Document
Reference documents are configured per task — each core feature (data-generate, data-repair, etc.) can have its own reference document. This allows you to tailor instructions for different workflows. When you run a task that uses a reference document, the CLI prompts you interactively:- File path — point to an existing Markdown or text file on disk
- Paste content — type or paste the content directly; the CLI saves it to
eigendataDB/input/reference_doc.mdautomatically
Once provided, your reference document is saved for that specific task. The next time you run the same task, the CLI reuses your saved reference document without prompting again.
How Reference Documents are Used
When you generate data, EigenData-CLI combines your reference document with additional context:- Function Reference - Available functions from your function schema are appended automatically
- Database Summary - If you have a database file, user profiles and data samples are included
- Tool Environment - Information about the execution environment (local or MCP server)