Skip to content

Commit

Permalink
[auto-generated] Update structure file for main
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 23, 2024
1 parent 7df9b45 commit 9493f0c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions structure/main.ts
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down

0 comments on commit 9493f0c

Please sign in to comment.