Learning Timeline
Key Insights
The Importance of Detail in Prompts
Softr AI Co-Builder strictly follows prompt instructions. It is highly recommended to include a complete database schema in your initial prompt to ensure the AI generates the correct 'fields' without requiring much manual modification.
Troubleshooting Empty Interfaces
If the AI generates an interface but nothing is displayed, it is usually because your database table is still empty. Make sure to add 'records' or 'mock data' to the table so that the interface components can pull and display that data.
Prompts
Generating a New Database Table
Target:
Softr AI Co-Builder
Create a table for YouTube videos.
Step by Step
Auto-Generating Tables & Interfaces with Softr AI
- Click on 'Database Schema' to view the automatically generated table structure.
- Audit each table to ensure the 'Fields' and 'Mock Data' meet your project requirements.
- Open the 'AI Co-Builder' panel to modify or add to the database.
- Type a specific prompt in the AI Co-Builder to generate a new table (e.g., "Create a table for YouTube videos").
- Wait for the AI to finish updating the database schema with the new table.
- Navigate to the 'Interface Builder' via the main navigation menu.
- Use the 'AI Co-Builder' within the Interface Builder to ask the AI to build a page based on the new table.
- Check the 'Pages' list to ensure the new page (e.g., "YouTube Videos") has been successfully generated.
- If the interface page appears empty, return to the 'Database' section and add at least 8 data records.
- Re-open the 'Interface Builder' to see the data automatically displayed on the newly built interface.