@learnpack/learnpack 5.0.322 → 5.0.324
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/lib/commands/serve.js +94 -23
- package/lib/utils/rigoActions.d.ts +3 -0
- package/lib/utils/rigoActions.js +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +123 -31
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +389 -380
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/rigoActions.ts +4 -1
package/src/ui/app.tar.gz
CHANGED
|
Binary file
|
package/src/utils/rigoActions.ts
CHANGED
|
@@ -509,6 +509,8 @@ type TInitialContentGeneratorInputs = {
|
|
|
509
509
|
output_language: string;
|
|
510
510
|
current_syllabus: string;
|
|
511
511
|
lesson_description: string;
|
|
512
|
+
target_word_count: string;
|
|
513
|
+
topic_description?: string;
|
|
512
514
|
};
|
|
513
515
|
|
|
514
516
|
export const initialContentGenerator = async (
|
|
@@ -545,6 +547,7 @@ type TAddInteractivityInputs = {
|
|
|
545
547
|
prev_lesson: string;
|
|
546
548
|
initial_lesson: string;
|
|
547
549
|
output_language: string;
|
|
550
|
+
lesson_info: string;
|
|
548
551
|
current_syllabus: string;
|
|
549
552
|
};
|
|
550
553
|
|
|
@@ -555,7 +558,7 @@ export const addInteractivity = async (
|
|
|
555
558
|
) => {
|
|
556
559
|
try {
|
|
557
560
|
const response = await axios.post(
|
|
558
|
-
`${RIGOBOT_HOST}/v1/prompting/completion/lesson-
|
|
561
|
+
`${RIGOBOT_HOST}/v1/prompting/completion/add-lesson-interactivy/`,
|
|
559
562
|
{
|
|
560
563
|
inputs,
|
|
561
564
|
include_purpose_objective: false,
|