@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/src/ui/app.tar.gz CHANGED
Binary file
@@ -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-refiner/`,
561
+ `${RIGOBOT_HOST}/v1/prompting/completion/add-lesson-interactivy/`,
559
562
  {
560
563
  inputs,
561
564
  include_purpose_objective: false,