Commit de39058
refactor: update system prompts to ensure consistent data generation guidelines (#707)
* refactor: update system prompts to ensure consistent data generation guidelines
- Reintroduced the rule to generate realistic/plausible data across various system prompts in chat and playground examples.
- Adjusted the structure of prompt options in the playground library to include additional rules.
- Enhanced documentation for forms and charts to clarify component usage and data handling.
This update aims to standardize the approach to data generation in the system prompts, ensuring a more coherent user experience across different examples.
* refactor: standardize data generation guidelines across system prompts
- Reintroduced the guideline to generate realistic/plausible data in various system prompts, ensuring consistency across chat and playground examples.
- Updated the structure of prompt options in the playground library to remove redundant rules.
- Enhanced documentation for forms and charts to clarify component usage and data handling.
This update aims to improve the coherence of data generation practices in the system prompts, enhancing the overall user experience.
* refactor: enhance system prompt documentation for forms and charts
- Updated the system prompt files across multiple examples to improve clarity and consistency in the documentation of form and chart components.
- Added optional parameters to various components, including `Col`, `PieChart`, `Form`, `Select`, `DatePicker`, `CheckBoxGroup`, and `SwitchGroup`, to enhance flexibility in usage.
- Ensured that all changes align with the recent standardization efforts in data generation guidelines, contributing to a more coherent user experience across examples.
* fix(lang-core): remove hardcoded Stack prompt example
* fix(lang-core): remove remaining hardcoded Stack prompts
* fix(lang-core): use generic components in prompt examples
* fix(lang-core): use generic list in prompt example
---------
Co-authored-by: Visharad Kashyap <154831195+vishxrad@users.noreply.github.com>1 parent 469750a commit de39058
3 files changed
Lines changed: 6 additions & 5 deletions
File tree
- packages
- lang-core/src/parser
- react-email/src
- react-ui/src/genui-lib/prompt-options
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
| |||
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
410 | | - | |
| 409 | + | |
411 | 410 | | |
412 | 411 | | |
413 | 412 | | |
| |||
444 | 443 | | |
445 | 444 | | |
446 | 445 | | |
447 | | - | |
448 | 446 | | |
449 | 447 | | |
450 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
0 commit comments