@innovastudio/contentbox 1.5.58 → 1.5.60

Sign up to get free protection for your applications and to get access to all the features.
@@ -451,6 +451,7 @@ _txt["Delete Selected"] = "Delete Selected";
451
451
  _txt["Please select a file"] = "Please select a file";
452
452
  _txt["UP"] = "UP";
453
453
  _txt["This function is disabled in this demo."] = "This function is disabled in this demo.";
454
+ _txt["AI Assistant"] = "AI Assistant";
454
455
  _txt["Send a Command"] = "Send a Command";
455
456
  _txt["Mic"] = "Mic";
456
457
  _txt["Auto Send"] = "Auto Send";
@@ -459,12 +460,16 @@ _txt["Please select a box."] = "Please select a box.";
459
460
  _txt["Speech recognition not supported in this browser."] = "Speech recognition not supported in this browser.";
460
461
  _txt["Abort"] = "Abort";
461
462
  _txt["Commands"] = "Commands";
463
+ _txt["Temperature"] = "Temperature";
464
+ _txt["Top P"] = "Top P";
462
465
  _txt["AI-Powered Features"] = "AI-Powered Features";
463
466
  _txt["AI-Disclaimer"] = "The feature you're about to use utilizes AI in some of its processes. " +
464
467
  "It's important to understand that AI systems have limitations. " +
465
468
  "There may be instances where the results are not 100% accurate or may provide unexpected responses or information. " +
466
469
  "As a user, it's your responsibility to independently verify any information or results obtained through this AI-powered feature. " +
467
470
  "Our team is dedicated to continuously improving its performance and accuracy to enhance your experience.";
471
+ _txt["No microphone found. Please activate your microphone and refresh the page."] = "No microphone found. Please activate your microphone and refresh the page.";
472
+
468
473
 
469
474
 
470
475
  //ContentBox.js
@@ -714,4 +719,12 @@ _txt["Sorry, content with a module block cannot be processed."] = "Sorry, conten
714
719
  _txt["Showcase"] = "Showcase";
715
720
  _txt["The selected box is empty. Please select a box with content."] = "The selected box is empty. Please select a box with content.";
716
721
  _txt["Sorry, content with a module block cannot be processed."] = "Sorry, content with a module block cannot be processed.";
717
- _txt["Stack Background on Mobile"] = "Stack Background on Mobile";
722
+ _txt["Stack Background on Mobile"] = "Stack Background on Mobile";
723
+ _txt["Please provide a more detailed and descriptive command."] = "Please provide a more detailed and descriptive command.";
724
+ _txt["Redesign Style"] = "Redesign Style";
725
+ _txt["None (Same Style)"] = "None (Same Style)";
726
+ _txt["Oops! The response received is insufficient. Please try again."] = "Oops! The response received is insufficient. <br>Please try again.";
727
+ _txt["Oops! The section includes \'Lorem ipsum\' text. To optimize the redesign, we suggest updating this placeholder text with actual content."] = "Oops! The section includes \'Lorem ipsum\' text. To optimize the redesign, we suggest updating this placeholder text with actual content.";
728
+ _txt["Proceed with Redesign"] = "Proceed with Redesign";
729
+ _txt["Save Section Style"] = "Save Section Style";
730
+ _txt["Redesign with Saved Style"] = "Redesign with Saved Style";
package/readme.txt CHANGED
@@ -1,20 +1,99 @@
1
- ContentBox.js 5.5.5
1
+ ContentBox.js 5.5.6
2
2
 
3
- To get started, please see the documentation:
3
+ To get started, please refer to the documentation:
4
4
 
5
5
  https://demo.innovastudio.com/docs/ContentBox.pdf
6
6
 
7
+
8
+ To try the example:
9
+
10
+ Copy all files into your localhost and open the following in your browser:
11
+
12
+ http://localhost/.../public/example.html
13
+
7
14
  or
8
15
 
9
- README.md
16
+ http://localhost/.../public/example.php (PHP example)
10
17
 
11
- For Source Code Package only: please see readme-sourcecode.txt
12
18
 
13
- To try the example:
19
+ NOTE:
20
+
21
+ - To use the AI Assistant:
22
+ 1. Obtain the OpenAI API Key from https://openai.com
23
+ 2. Update the 'sendcommand.php' file with your API Key:
24
+
25
+ define('OPENAI_API_KEY', 'YOUR_API_KEY_HERE');
26
+
27
+ - For speech recognition (when dictation is enabled), the browser's built-in
28
+ speech recognition is used. However, certain browsers may not support this feature.
29
+ We recommend using Deepgram for browser compatibility and accuracy.
30
+ Obtain the Deepgram API Key from https://deepgram.com.
31
+ An example of using Deepgram is provided in the Node.js example below.
32
+
33
+ - The AI Assistant is an optional feature that you can enable or disable.
34
+ Please refer to the AI Assistant documentation:
35
+
36
+ https://demo.innovastudio.com/docs/AI-Assistant.pdf
37
+
38
+
39
+ _____________________________________________
40
+
41
+
42
+ To run the project (Node.js example):
43
+
44
+ 1. Install the project dependencies:
45
+
46
+ > npm install
47
+
48
+ Note: To run this command, you need to have NPM installed.
49
+ Download & install NPM from https://nodejs.org/en/download/.
50
+
51
+ 2. OPTIONAL: (if you want to use the AI Assistant feature)
52
+
53
+ Update the .env file with your OpenAI and Deepgram API Keys:
54
+ - Obtain the OpenAI API Key from https://openai.com
55
+ - Obtain the Deepgram API Key from https://deepgram.com (optional. See note below.)
56
+
57
+ 3. Run the project:
58
+
59
+ > npm start
60
+
61
+ A browser window will open with the ContentBox.js example running.
62
+
63
+
64
+ NOTE:
65
+
66
+ - The ContentBox initiation can be found in 'src/index.js'.
67
+
68
+ - The Node.js server code is in 'server.js'.
69
+
70
+ - Using Deepgram for speech recognition is optional but recommended.
71
+ Alternatively, you can use the browser's built-in speech recognition.
72
+ To use the browser's built-in speech recognition, just disable/remove
73
+ the 'speechTranscribeUrl' parameter when initiating the ContentBox (src/index.js).
74
+
75
+
76
+ _____________________________________________
77
+
78
+
79
+ If you have the ContentBox source code:
80
+
81
+ - The source code is located in the 'src/contentbox/' folder.
82
+ When you run the project, you can try modifying the source code, and
83
+ the changes will be applied, and the browser will refresh automatically.
84
+
85
+ - When finished, to build the JS code that you can use in production, run:
86
+
87
+ > npm run build
88
+
89
+ The minified JS will be generated in the folder: 'public/contentbuilder/contentbuilder.min.js'.
90
+ You can test it by opening, for example, 'public/example.html'.
91
+ If you're using Visual Studio Code, right-click on the 'example.html' file and select "Open with Live Server".
92
+
93
+ - To build CSS from SCSS files, run:
14
94
 
15
- Copy all files into your localhost and open:
95
+ > npm run scss
16
96
 
17
- http://localhost/.../public/example.html
18
97
 
19
98
  _____________________________________________
20
99
  SUPPORT: