File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
frontend/src/app/agent/settings Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
< mat-card fxLayout ="column ">
2
2
3
3
< form [formGroup] ="config_form " (submit) ="save_config() ">
4
+ < h3 > Tune ML</ h3 >
4
5
< mat-slider min ="0.1 " max ="1.0 " step ="0.05 " formControlName ="confidence_threshold " (change) ="threshold_value_changed() "> </ mat-slider >
5
6
Intent Detection threshold = < b > {{config_form.value.confidence_threshold | percent}}</ b >
6
7
< br >
7
- </ form >
8
-
9
- < br >
10
- < div fxLayout ="row " fxLayoutAlign ="space-between center " >
11
- < div class ="import-group " fxLayout ="row " fxLayoutAlign =" center ">
12
- < div fxFlex >
13
- < input type ="file "
14
- id ="file "
15
- (change) ="handleFileInput($event.target.files) ">
16
- </ div >
17
- < div fxLayoutAlign ="end " > < button mat-raised-button (click) ="uploadFileToActivity() " [disabled] ="!fileToUpload "> Import stories</ button > </ div >
18
- </ div >
19
- < button mat-raised-button (click) ="export() " color ="primary "> Export stories</ button >
20
- </ div >
21
-
22
-
8
+ </ form >
23
9
< div class ="code-snippet ">
24
10
< h3 > Chat Widget</ h3 >
25
11
< p > Copy and paste the below snippet into your HTML code.</ p >
@@ -32,4 +18,18 @@ <h3>Chat Widget</h3>
32
18
</ p >
33
19
34
20
</ div >
21
+
22
+ < h3 > Import/Export Intents</ h3 >
23
+ < div fxLayout ="row " fxLayoutAlign ="space-between center " >
24
+
25
+ < div class ="import-group " fxLayout ="row " fxLayoutAlign =" center ">
26
+ < div fxFlex >
27
+ < input type ="file "
28
+ id ="file "
29
+ (change) ="handleFileInput($event.target.files) ">
30
+ </ div >
31
+ < div fxLayoutAlign ="end " > < button mat-raised-button (click) ="uploadFileToActivity() " [disabled] ="!fileToUpload "> Import Intents</ button > </ div >
32
+ </ div >
33
+ < button mat-raised-button (click) ="export() " color ="primary "> Export Intents</ button >
34
+ </ div >
35
35
</ mat-card >
You can’t perform that action at this time.
0 commit comments