doomiaichat 3.0.1 → 3.0.2
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.
- package/dist/gptbase.d.ts +2 -2
- package/package.json +1 -1
- package/src/gptbase.ts +2 -2
package/dist/gptbase.d.ts
CHANGED
|
@@ -64,12 +64,12 @@ export default abstract class GptBase extends EventEmitter {
|
|
|
64
64
|
* @param count
|
|
65
65
|
* @param axiosOption
|
|
66
66
|
*/
|
|
67
|
-
abstract generateQuestionsFromContent(content: string, count: number, axiosOption: any): Promise<ChatReponse>;
|
|
67
|
+
abstract generateQuestionsFromContent(content: string, count: number, everyContentLength: number, axiosOption: any): Promise<ChatReponse>;
|
|
68
68
|
/**
|
|
69
69
|
* 从内容中提取单选多选判断填空题
|
|
70
70
|
* @param content
|
|
71
71
|
* @param paperOption
|
|
72
72
|
* @param axiosOption
|
|
73
73
|
*/
|
|
74
|
-
abstract generateExaminationPaperFromContent(content: string, paperOption: any, axiosOption: any): Promise<ExaminationPaperResult>;
|
|
74
|
+
abstract generateExaminationPaperFromContent(content: string, paperOption: any, everyContentLength: number, axiosOption: any): Promise<ExaminationPaperResult>;
|
|
75
75
|
}
|
package/package.json
CHANGED
package/src/gptbase.ts
CHANGED
|
@@ -66,12 +66,12 @@ export default abstract class GptBase extends EventEmitter {
|
|
|
66
66
|
* @param count
|
|
67
67
|
* @param axiosOption
|
|
68
68
|
*/
|
|
69
|
-
abstract generateQuestionsFromContent(content: string, count: number, axiosOption: any): Promise<ChatReponse>;
|
|
69
|
+
abstract generateQuestionsFromContent(content: string, count: number, everyContentLength: number, axiosOption: any): Promise<ChatReponse>;
|
|
70
70
|
/**
|
|
71
71
|
* 从内容中提取单选多选判断填空题
|
|
72
72
|
* @param content
|
|
73
73
|
* @param paperOption
|
|
74
74
|
* @param axiosOption
|
|
75
75
|
*/
|
|
76
|
-
abstract generateExaminationPaperFromContent(content: string, paperOption: any, axiosOption: any): Promise<ExaminationPaperResult>;
|
|
76
|
+
abstract generateExaminationPaperFromContent(content: string, paperOption: any, everyContentLength: number, axiosOption: any): Promise<ExaminationPaperResult>;
|
|
77
77
|
}
|