File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11
2+ /**
3+ * Params of aiplacement_courseassist_explain_text WS.
4+ *
5+ * WS Description: Explain text for the Course Assistance Placement
6+ */
7+ type AiplacementCourseassistExplainTextWSParams = {
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_explain_text WS.
14+ *
15+ * WS Description: Explain text for the Course Assistance Placement
16+ */
17+ export type AiplacementCourseassistExplainTextWSResponse = {
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_courseassist_summarise_text WS.
429 *
You can’t perform that action at this time.
0 commit comments