Spaces:
Building
Building
Update flare-ui/src/app/services/api.service.ts
Browse files
flare-ui/src/app/services/api.service.ts
CHANGED
@@ -6,13 +6,6 @@ import { Router } from '@angular/router';
|
|
6 |
import { AuthService } from './auth.service';
|
7 |
|
8 |
// Interfaces
|
9 |
-
export interface Environment {
|
10 |
-
work_mode: string;
|
11 |
-
cloud_token: string;
|
12 |
-
spark_endpoint: string;
|
13 |
-
internal_prompt?: string;
|
14 |
-
}
|
15 |
-
|
16 |
export interface API {
|
17 |
name: string;
|
18 |
url: string;
|
@@ -116,6 +109,13 @@ export interface Project {
|
|
116 |
last_update_user?: string;
|
117 |
}
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
export interface Environment {
|
120 |
work_mode: string;
|
121 |
cloud_token: string;
|
@@ -127,6 +127,7 @@ export interface Environment {
|
|
127 |
stt_engine?: string;
|
128 |
stt_engine_api_key?: string;
|
129 |
stt_settings?: STTSettings;
|
|
|
130 |
}
|
131 |
|
132 |
export interface STTSettings {
|
|
|
6 |
import { AuthService } from './auth.service';
|
7 |
|
8 |
// Interfaces
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
export interface API {
|
10 |
name: string;
|
11 |
url: string;
|
|
|
109 |
last_update_user?: string;
|
110 |
}
|
111 |
|
112 |
+
export interface ParameterCollectionConfig {
|
113 |
+
max_params_per_question: number;
|
114 |
+
smart_grouping: boolean;
|
115 |
+
retry_unanswered: boolean;
|
116 |
+
collection_prompt: string;
|
117 |
+
}
|
118 |
+
|
119 |
export interface Environment {
|
120 |
work_mode: string;
|
121 |
cloud_token: string;
|
|
|
127 |
stt_engine?: string;
|
128 |
stt_engine_api_key?: string;
|
129 |
stt_settings?: STTSettings;
|
130 |
+
parameter_collection_config?: ParameterCollectionConfig;
|
131 |
}
|
132 |
|
133 |
export interface STTSettings {
|