Skip to content

Commit 9493f0c

Browse files
[auto-generated] Update structure file for main
1 parent 7df9b45 commit 9493f0c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

structure/main.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11

2+
/**
3+
* Params of aiplacement_courseassist_summarise_text WS.
4+
*
5+
* WS Description: Summarise text for the Course Assistance Placement
6+
*/
7+
type AiplacementCourseassistSummariseTextWSParams = {
8+
contextid: number; // The context ID.
9+
prompttext: string; // The prompt text for the AI service.
10+
};
11+
12+
/**
13+
* Data returned by aiplacement_courseassist_summarise_text WS.
14+
*
15+
* WS Description: Summarise text for the Course Assistance Placement
16+
*/
17+
export type AiplacementCourseassistSummariseTextWSResponse = {
18+
success: boolean; // Was the request successful.
19+
timecreated: number; // The time the request was created.
20+
prompttext: string; // The prompt text for the AI service.
21+
generatedcontent?: string; // The text generated by AI.
22+
finishreason?: string; // The reason generation was stopped.
23+
errorcode?: number; // Error code if any.
24+
error?: string; // Error message if any.
25+
};
26+
227
/**
328
* Params of aiplacement_editor_generate_image WS.
429
*

0 commit comments

Comments
 (0)