Skip to main content

AI Assistant Component

The AI Assistant component provides AI-powered suggestions for creating and improving view schemas. It allows users to describe their desired view in natural language and generates corresponding schema definitions.

Features

  • Natural Language Interface: Create views by describing them in plain language
  • Schema Generation: Convert descriptions into valid view schemas
  • Field Suggestions: Intelligent suggestions for field types and properties
  • Layout Recommendations: Suggestions for optimal layout organization
  • Internationalization Support: Generate schemas with i18n support

Basic Usage

Prompt Examples

The AI Assistant understands various types of prompts:
  • Create a form for user registration with name, email, and password fields
  • Build a table view for displaying products with columns for name, price, and inventory
  • Generate a detail view for customer information with contact details and order history
  • Add validation to all required fields in this form
  • Organize these fields into logical sections

Customization

You can customize the AI Assistant appearance and behavior:

Integration with Schema State

The AI Assistant automatically updates the schema state:

Advanced Usage

Custom Prompt Templates

You can provide custom prompt templates:

Schema Enhancement

You can use the AI Assistant to enhance existing schemas:

Multilingual Support

The AI Assistant supports generating schemas with internationalization: