ciyidogan commited on
Commit
c12bda3
·
verified ·
1 Parent(s): c094023

Update flare-ui/src/app/components/environment/environment.component.ts

Browse files
flare-ui/src/app/components/environment/environment.component.ts CHANGED
@@ -75,12 +75,22 @@ export class EnvironmentComponent implements OnInit {
75
  max_params_per_question: 2,
76
  smart_grouping: true,
77
  retry_unanswered: true,
78
- collection_prompt: this.getDefaultCollectionPrompt()
 
79
  };
80
 
81
  loading = true;
82
  saving = false;
83
 
 
 
 
 
 
 
 
 
 
84
  ngOnInit() {
85
  this.loadEnvironment();
86
  }
@@ -323,4 +333,8 @@ Generate ONLY the question, nothing else.`;
323
  valid: true // Form validation için basit bir getter
324
  };
325
  }
 
 
 
 
326
  }
 
75
  max_params_per_question: 2,
76
  smart_grouping: true,
77
  retry_unanswered: true,
78
+ use_natural_language: true,
79
+ project_language: 'tr'
80
  };
81
 
82
  loading = true;
83
  saving = false;
84
 
85
+ conversation_history: string = '{{conversation_history}}';
86
+ intent_name: string = '{{intent_name}}';
87
+ intent_caption: string = '{{intent_caption}}';
88
+ collected_params: string = '{{collected_params}}';
89
+ missing_params: string = '{{missing_params}}';
90
+ unanswered_params: string = '{{unanswered_params}}';
91
+ max_params: string = '{{max_params}}';
92
+ project_language: string = '{{project_language}}';
93
+
94
  ngOnInit() {
95
  this.loadEnvironment();
96
  }
 
333
  valid: true // Form validation için basit bir getter
334
  };
335
  }
336
+
337
+ onWorkModeChange() {
338
+ this.environmentService.updateEnvironment(this.environment);
339
+ }
340
  }