Skip to main content

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
Each domain has its own set of available functions, user profiles, and business rules that guide how conversational data is generated.

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:
You can provide your reference document in two ways:
  • 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.md automatically
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:
  1. Function Reference - Available functions from your function schema are appended automatically
  2. Database Summary - If you have a database file, user profiles and data samples are included
  3. Tool Environment - Information about the execution environment (local or MCP server)
This enhanced context helps the AI understand your specific domain and generate more relevant, accurate data.