Spaces:
Building
Building
Update flare-ui/src/app/services/api.service.ts
Browse files
flare-ui/src/app/services/api.service.ts
CHANGED
@@ -38,6 +38,18 @@ export interface API {
|
|
38 |
last_update_user?: string;
|
39 |
}
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
export interface Version {
|
42 |
id: number;
|
43 |
caption?: string;
|
@@ -68,18 +80,6 @@ export interface Project {
|
|
68 |
last_update_user?: string;
|
69 |
}
|
70 |
|
71 |
-
export interface Intent {
|
72 |
-
name: string,
|
73 |
-
caption: string,
|
74 |
-
locale: string,
|
75 |
-
detection_prompt: string,
|
76 |
-
examples: string[],
|
77 |
-
parameters: any[],
|
78 |
-
action: string,
|
79 |
-
fallback_timeout_prompt: string,
|
80 |
-
fallback_error_prompt: string
|
81 |
-
}
|
82 |
-
|
83 |
@Injectable({
|
84 |
providedIn: 'root'
|
85 |
})
|
|
|
38 |
last_update_user?: string;
|
39 |
}
|
40 |
|
41 |
+
export interface Intent {
|
42 |
+
name: string,
|
43 |
+
caption: string,
|
44 |
+
locale: string,
|
45 |
+
detection_prompt: string,
|
46 |
+
examples: string[],
|
47 |
+
parameters: any[],
|
48 |
+
action: string,
|
49 |
+
fallback_timeout_prompt: string,
|
50 |
+
fallback_error_prompt: string
|
51 |
+
}
|
52 |
+
|
53 |
export interface Version {
|
54 |
id: number;
|
55 |
caption?: string;
|
|
|
80 |
last_update_user?: string;
|
81 |
}
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
@Injectable({
|
84 |
providedIn: 'root'
|
85 |
})
|