@instructure/athena-api-client 2.26.0 → 2.27.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.
|
@@ -51,6 +51,12 @@ export interface CreateChatRequest {
|
|
|
51
51
|
* @memberof CreateChatRequest
|
|
52
52
|
*/
|
|
53
53
|
initialStrength?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Optional study guide (taxonomy) this chat is scoped to. Persists on `chats.taxonomyId` for any chatType — the existing AI tooling (`getTaxonomy` + `getUserTaxonomyProgress` tool registration, study-guide-scoped system prompt) keys off the row regardless of chatType. The level-up prompt additionally injects the study guide name + description as anchoring context in the prompt body. Caller must be actively enrolled in the supplied taxonomy or the request is rejected with 403, matching the message-stream path's enrollment check.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateChatRequest
|
|
58
|
+
*/
|
|
59
|
+
taxonomyId?: string;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* @export
|
|
@@ -38,6 +38,7 @@ export function CreateChatRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'visibility': json['visibility'] == null ? undefined : json['visibility'],
|
|
39
39
|
'primaryConceptId': json['primaryConceptId'] == null ? undefined : json['primaryConceptId'],
|
|
40
40
|
'initialStrength': json['initialStrength'] == null ? undefined : json['initialStrength'],
|
|
41
|
+
'taxonomyId': json['taxonomyId'] == null ? undefined : json['taxonomyId'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
export function CreateChatRequestToJSON(json) {
|
|
@@ -54,5 +55,6 @@ export function CreateChatRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
54
55
|
'visibility': value['visibility'],
|
|
55
56
|
'primaryConceptId': value['primaryConceptId'],
|
|
56
57
|
'initialStrength': value['initialStrength'],
|
|
58
|
+
'taxonomyId': value['taxonomyId'],
|
|
57
59
|
};
|
|
58
60
|
}
|
|
@@ -51,6 +51,12 @@ export interface CreateChatRequest {
|
|
|
51
51
|
* @memberof CreateChatRequest
|
|
52
52
|
*/
|
|
53
53
|
initialStrength?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Optional study guide (taxonomy) this chat is scoped to. Persists on `chats.taxonomyId` for any chatType — the existing AI tooling (`getTaxonomy` + `getUserTaxonomyProgress` tool registration, study-guide-scoped system prompt) keys off the row regardless of chatType. The level-up prompt additionally injects the study guide name + description as anchoring context in the prompt body. Caller must be actively enrolled in the supplied taxonomy or the request is rejected with 403, matching the message-stream path's enrollment check.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateChatRequest
|
|
58
|
+
*/
|
|
59
|
+
taxonomyId?: string;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* @export
|
|
@@ -46,6 +46,7 @@ function CreateChatRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'visibility': json['visibility'] == null ? undefined : json['visibility'],
|
|
47
47
|
'primaryConceptId': json['primaryConceptId'] == null ? undefined : json['primaryConceptId'],
|
|
48
48
|
'initialStrength': json['initialStrength'] == null ? undefined : json['initialStrength'],
|
|
49
|
+
'taxonomyId': json['taxonomyId'] == null ? undefined : json['taxonomyId'],
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
function CreateChatRequestToJSON(json) {
|
|
@@ -62,5 +63,6 @@ function CreateChatRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
63
|
'visibility': value['visibility'],
|
|
63
64
|
'primaryConceptId': value['primaryConceptId'],
|
|
64
65
|
'initialStrength': value['initialStrength'],
|
|
66
|
+
'taxonomyId': value['taxonomyId'],
|
|
65
67
|
};
|
|
66
68
|
}
|