ciyidogan commited on
Commit
1188622
·
verified ·
1 Parent(s): ae59c77

Update flare-ui/src/app/dialogs/intent-edit-dialog/intent-edit-dialog.component.html

Browse files
flare-ui/src/app/dialogs/intent-edit-dialog/intent-edit-dialog.component.html CHANGED
@@ -35,7 +35,7 @@
35
 
36
  <mat-form-field appearance="outline" class="full-width">
37
  <mat-label>Detection Prompt*</mat-label>
38
- <textarea matInput formControlName="detection_prompt"
39
  rows="4"
40
  placeholder="Describe when this intent should be detected..."></textarea>
41
  <mat-hint>Explain to the LLM when to detect this intent</mat-hint>
@@ -57,14 +57,14 @@
57
 
58
  <mat-form-field appearance="outline" class="full-width">
59
  <mat-label>Timeout Message</mat-label>
60
- <textarea matInput formControlName="fallback_timeout_prompt"
61
  rows="2"
62
  placeholder="Message when API times out..."></textarea>
63
  </mat-form-field>
64
 
65
  <mat-form-field appearance="outline" class="full-width">
66
  <mat-label>Error Message</mat-label>
67
- <textarea matInput formControlName="fallback_error_prompt"
68
  rows="2"
69
  placeholder="Message when API returns error..."></textarea>
70
  </mat-form-field>
@@ -177,7 +177,7 @@
177
 
178
  <mat-form-field appearance="outline" class="full-width">
179
  <mat-label>Extraction Prompt</mat-label>
180
- <textarea matInput formControlName="extraction_prompt"
181
  rows="3"
182
  placeholder="Instructions for extracting this parameter..."></textarea>
183
  </mat-form-field>
 
35
 
36
  <mat-form-field appearance="outline" class="full-width">
37
  <mat-label>Detection Prompt*</mat-label>
38
+ <textarea matInput formControlName="detection_prompt" class="code-textarea"
39
  rows="4"
40
  placeholder="Describe when this intent should be detected..."></textarea>
41
  <mat-hint>Explain to the LLM when to detect this intent</mat-hint>
 
57
 
58
  <mat-form-field appearance="outline" class="full-width">
59
  <mat-label>Timeout Message</mat-label>
60
+ <textarea matInput formControlName="fallback_timeout_prompt" class="code-textarea"
61
  rows="2"
62
  placeholder="Message when API times out..."></textarea>
63
  </mat-form-field>
64
 
65
  <mat-form-field appearance="outline" class="full-width">
66
  <mat-label>Error Message</mat-label>
67
+ <textarea matInput formControlName="fallback_error_prompt" class="code-textarea"
68
  rows="2"
69
  placeholder="Message when API returns error..."></textarea>
70
  </mat-form-field>
 
177
 
178
  <mat-form-field appearance="outline" class="full-width">
179
  <mat-label>Extraction Prompt</mat-label>
180
+ <textarea matInput formControlName="extraction_prompt" class="code-textarea"
181
  rows="3"
182
  placeholder="Instructions for extracting this parameter..."></textarea>
183
  </mat-form-field>