gen
This commit is contained in:
@@ -185,6 +185,7 @@ export class StudyElementDB {
|
||||
"source": string;
|
||||
"questionText": string;
|
||||
"content": string;
|
||||
"keyword": string;
|
||||
"category": string;
|
||||
|
||||
/** Creates a new StudyElementDB instance. */
|
||||
@@ -201,6 +202,9 @@ export class StudyElementDB {
|
||||
if (!("content" in $$source)) {
|
||||
this["content"] = "";
|
||||
}
|
||||
if (!("keyword" in $$source)) {
|
||||
this["keyword"] = "";
|
||||
}
|
||||
if (!("category" in $$source)) {
|
||||
this["category"] = "";
|
||||
}
|
||||
|
||||
@@ -63,15 +63,15 @@ export function DeleteUser(username: string): $CancellablePromise<void> {
|
||||
* ExtractStudyElementsForCategory extracts study elements for all questions in the category.
|
||||
* It skips questions that already have an extracted study element.
|
||||
*/
|
||||
export function ExtractStudyElementsForCategory(category: string): $CancellablePromise<string> {
|
||||
return $Call.ByID(3340623770, category);
|
||||
export function ExtractStudyElementsForCategory(category: string, useGeminiAPI: boolean, delaySeconds: number): $CancellablePromise<string> {
|
||||
return $Call.ByID(3340623770, category, useGeminiAPI, delaySeconds);
|
||||
}
|
||||
|
||||
/**
|
||||
* GenerateGoPracticalExams creates new exam questions based on existing ones.
|
||||
*/
|
||||
export function GenerateGoPracticalExams(count: number): $CancellablePromise<string> {
|
||||
return $Call.ByID(4059537052, count);
|
||||
export function GenerateGoPracticalExams(count: number, useGeminiAPI: boolean, delaySeconds: number, examType: string): $CancellablePromise<string> {
|
||||
return $Call.ByID(4059537052, count, useGeminiAPI, delaySeconds, examType);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user