From 9493f0c071dd403df61a831a351f1843cfb97157 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 04:05:33 +0000 Subject: [PATCH] [auto-generated] Update structure file for main --- structure/main.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/structure/main.ts b/structure/main.ts index 40b7a2a3..7b05b299 100644 --- a/structure/main.ts +++ b/structure/main.ts @@ -1,4 +1,29 @@ +/** + * Params of aiplacement_courseassist_summarise_text WS. + * + * WS Description: Summarise text for the Course Assistance Placement + */ +type AiplacementCourseassistSummariseTextWSParams = { + contextid: number; // The context ID. + prompttext: string; // The prompt text for the AI service. +}; + +/** + * Data returned by aiplacement_courseassist_summarise_text WS. + * + * WS Description: Summarise text for the Course Assistance Placement + */ +export type AiplacementCourseassistSummariseTextWSResponse = { + success: boolean; // Was the request successful. + timecreated: number; // The time the request was created. + prompttext: string; // The prompt text for the AI service. + generatedcontent?: string; // The text generated by AI. + finishreason?: string; // The reason generation was stopped. + errorcode?: number; // Error code if any. + error?: string; // Error message if any. +}; + /** * Params of aiplacement_editor_generate_image WS. *