Skip to content

Data Layer Interface ​

Overview ​

The Data Layer provides interfaces for designing data models through natural conversation and visual tools. Domain experts can structure operational data without database or API expertise.

Key Capabilities ​

Conversational Data Design

Define data models through natural language:

  • Describe entities, fields, and relationships conversationally
  • AI interprets requirements and configures data structures
  • Automatic validation ensures consistency
  • Iterative refinement through follow-up conversation
  • Visual confirmation of generated structure

Visual Schema Designer

Review and explore data models visually:

  • Visual representation of entity relationships
  • Interactive schema graph with zoom and navigation
  • Field property review and adjustment
  • Browse all entities and their connections
  • Automatic layout for clarity

Service Management

Monitor data service operations:

  • Service operational status
  • Configuration review
  • API endpoint access
  • Performance metrics

API Explorer

Test and interact with data services:

  • Interactive query interface
  • Visual query construction
  • Immediate result preview
  • Request history and reuse

Design Workflows ​

Conversational Design

Primary workflow for creating data models:

  1. Describe data requirements in natural language
  2. AI interprets and proposes data structure
  3. Review generated model visually
  4. Refine through follow-up conversation
  5. Data service becomes available automatically

Visual Review

Schema visualization provides:

  • Interactive graph of data model
  • Entity relationship visualization
  • Schema navigation and exploration
  • Entity property inspection

API Testing

Explore data services through:

  • Available operations discovery
  • Query construction and execution
  • Response inspection
  • Request sharing and reuse

Examples ​

Creating a Fleet Management Data Model

Conversational input:

"I need to track delivery vehicles with driver assignments and route history"

AI response:

  • Identifies entities: Vehicle, Driver, Route
  • Proposes relationships: Vehicle-to-Driver assignments, Vehicle-to-Route history
  • Configures fields: vehicle ID, driver details, route timestamps

Workflow:

  1. Review visual model
  2. Refine: "Add vehicle maintenance records"
  3. Confirm structure
  4. Data service becomes available
  5. Test queries in API explorer

Evolving Existing Models

Conversational update:

"Add a status field to track vehicle availability"

Workflow:

  1. AI updates data structure
  2. Review impact on entities and relationships
  3. Confirm changes
  4. Updated operations available immediately
  5. Verify with test queries

Defining Relationships

Conversational descriptions:

  • "Each vehicle belongs to one fleet"
  • "Drivers can be assigned to multiple vehicles over time"
  • "Routes are associated with specific vehicles"

AI configures appropriate relationship types: one-to-many, many-to-many, with automatic navigation.

Benefits ​

Accessibility

Data model design without technical expertise:

  • Business language descriptions
  • No database knowledge required
  • Automatic technical translation
  • Immediate validation feedback

Speed

Rapid data model iteration:

  • Conversational refinement
  • Automatic deployment
  • Immediate testing
  • Quick changes

Quality

Structural consistency:

  • AI validation of relationships
  • Automatic constraint enforcement
  • Early issue identification
  • Improvement suggestions

Collaboration

Domain-driven design:

  • Subject matter experts lead
  • Natural language reduces miscommunication
  • Visual confirmation aids understanding
  • Trackable change history

Best Practices ​

Effective Descriptions

Be specific in conversational input:

  • "Track vehicle location every 5 minutes" rather than "Track vehicles"
  • Explain how entities connect: "Drivers can be assigned to multiple vehicles"
  • State field requirements: "Vehicle ID is required and unique"
  • Refine through iteration

Validation Process

Verify data models before use:

  1. Review visual model for accuracy
  2. Check relationships match domain logic
  3. Test with sample queries
  4. Refine conversationally as needed

Iterative Design

Start simple and evolve:

  • Begin with core entities
  • Add relationships incrementally
  • Extend with additional fields
  • Test at each stage

Troubleshooting ​

Model Doesn't Match Intent

If generated structure doesn't match requirements:

  • Provide more specific descriptions
  • Use consistent domain terminology
  • Clarify ambiguous relationships
  • Review visual representation

Query Issues

If expected data isn't accessible:

  • Verify entity relationships are configured
  • Check operation availability
  • Confirm field names
  • Review access permissions

Deployment Issues

If changes don't appear:

  • Confirm deployment completed
  • Check service status
  • Verify correct environment
  • Review deployment logs

Next Steps ​

User documentation for Optimal Reality