@knowledge-stack/ksapi 1.157.0 → 1.158.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/esm/models/UserMessageRequest.d.ts +6 -0
- package/dist/esm/models/UserMessageRequest.js +2 -0
- package/dist/models/UserMessageRequest.d.ts +6 -0
- package/dist/models/UserMessageRequest.js +2 -0
- package/docs/UserMessageRequest.md +2 -0
- package/package.json +1 -1
- package/src/models/UserMessageRequest.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.158.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -709,7 +709,7 @@ and is automatically generated by the
|
|
|
709
709
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
710
710
|
|
|
711
711
|
- API version: `0.1.0`
|
|
712
|
-
- Package version: `1.
|
|
712
|
+
- Package version: `1.158.0`
|
|
713
713
|
- Generator version: `7.21.0`
|
|
714
714
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
715
715
|
|
|
@@ -21,6 +21,12 @@ export interface UserMessageRequest {
|
|
|
21
21
|
* @memberof UserMessageRequest
|
|
22
22
|
*/
|
|
23
23
|
inputText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Answer with the faster, lower-cost chat profile. Ignored when the tenant pins a chat profile and on workflow-run threads.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof UserMessageRequest
|
|
28
|
+
*/
|
|
29
|
+
fastMode?: boolean;
|
|
24
30
|
}
|
|
25
31
|
export declare const UserMessageRequestPropertyValidationAttributesMap: {
|
|
26
32
|
[property: string]: {
|
|
@@ -27,6 +27,7 @@ export function UserMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'inputText': json['input_text'] == null ? undefined : json['input_text'],
|
|
30
|
+
'fastMode': json['fast_mode'] == null ? undefined : json['fast_mode'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function UserMessageRequestToJSON(json) {
|
|
@@ -38,5 +39,6 @@ export function UserMessageRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'input_text': value['inputText'],
|
|
42
|
+
'fast_mode': value['fastMode'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -21,6 +21,12 @@ export interface UserMessageRequest {
|
|
|
21
21
|
* @memberof UserMessageRequest
|
|
22
22
|
*/
|
|
23
23
|
inputText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Answer with the faster, lower-cost chat profile. Ignored when the tenant pins a chat profile and on workflow-run threads.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof UserMessageRequest
|
|
28
|
+
*/
|
|
29
|
+
fastMode?: boolean;
|
|
24
30
|
}
|
|
25
31
|
export declare const UserMessageRequestPropertyValidationAttributesMap: {
|
|
26
32
|
[property: string]: {
|
|
@@ -35,6 +35,7 @@ function UserMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'inputText': json['input_text'] == null ? undefined : json['input_text'],
|
|
38
|
+
'fastMode': json['fast_mode'] == null ? undefined : json['fast_mode'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function UserMessageRequestToJSON(json) {
|
|
@@ -46,5 +47,6 @@ function UserMessageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
'input_text': value['inputText'],
|
|
50
|
+
'fast_mode': value['fastMode'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`inputText` | string
|
|
10
|
+
`fastMode` | boolean
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import type { UserMessageRequest } from '@knowledge-stack/ksapi'
|
|
|
16
17
|
// TODO: Update the object below with actual values
|
|
17
18
|
const example = {
|
|
18
19
|
"inputText": null,
|
|
20
|
+
"fastMode": null,
|
|
19
21
|
} satisfies UserMessageRequest
|
|
20
22
|
|
|
21
23
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface UserMessageRequest {
|
|
|
25
25
|
* @memberof UserMessageRequest
|
|
26
26
|
*/
|
|
27
27
|
inputText?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Answer with the faster, lower-cost chat profile. Ignored when the tenant pins a chat profile and on workflow-run threads.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof UserMessageRequest
|
|
32
|
+
*/
|
|
33
|
+
fastMode?: boolean;
|
|
28
34
|
}
|
|
29
35
|
export const UserMessageRequestPropertyValidationAttributesMap: {
|
|
30
36
|
[property: string]: {
|
|
@@ -62,6 +68,7 @@ export function UserMessageRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
62
68
|
return {
|
|
63
69
|
|
|
64
70
|
'inputText': json['input_text'] == null ? undefined : json['input_text'],
|
|
71
|
+
'fastMode': json['fast_mode'] == null ? undefined : json['fast_mode'],
|
|
65
72
|
};
|
|
66
73
|
}
|
|
67
74
|
|
|
@@ -77,6 +84,7 @@ export function UserMessageRequestToJSONTyped(value?: UserMessageRequest | null,
|
|
|
77
84
|
return {
|
|
78
85
|
|
|
79
86
|
'input_text': value['inputText'],
|
|
87
|
+
'fast_mode': value['fastMode'],
|
|
80
88
|
};
|
|
81
89
|
}
|
|
82
90
|
|