@websolutespa/bom-llm 0.0.34 → 0.0.36
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/CHANGELOG.md +15 -0
- package/dist/index.d.ts +12 -5
- package/dist/umd/index.css +12 -4
- package/dist/umd/index.js +10999 -10747
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @websolutespa/bom-llm
|
|
2
2
|
|
|
3
|
+
## 0.0.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Added: DefaultTextToSpeech, ElevenlabsTextToSpeech, DefaultSpeechToText
|
|
8
|
+
- Modified: textToChunks
|
|
9
|
+
- Added: RecognitionMode, SynthesisMode, textToSpeechApiKey, textToSpeechVoiceId
|
|
10
|
+
|
|
11
|
+
## 0.0.35
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Modified: MessageService
|
|
16
|
+
- Added: USE_INSPECT_PARAM
|
|
17
|
+
|
|
3
18
|
## 0.0.34
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -26,27 +26,34 @@ type LlmSampleInputText = {
|
|
|
26
26
|
id: string;
|
|
27
27
|
sampleInputText: string;
|
|
28
28
|
};
|
|
29
|
+
type LlmRecognitionMode = ('none' | 'default') & string;
|
|
30
|
+
type LlmSynthesisMode = ('none' | 'default' | 'elevenlabs') & string;
|
|
29
31
|
type LlmContents = {
|
|
32
|
+
additionalLogos?: {
|
|
33
|
+
logo: IMedia;
|
|
34
|
+
}[];
|
|
30
35
|
collapsedWelcomeText: string;
|
|
31
36
|
collapsedWelcomeTextCta?: string;
|
|
32
37
|
collapsedWelcomeTextHover?: string;
|
|
33
38
|
customIntro?: string;
|
|
34
39
|
customTheme?: DeepPartial<LlmTheme>;
|
|
35
|
-
disableSpeechSynthesis?: boolean;
|
|
36
40
|
disclaimer?: string;
|
|
37
41
|
extendedWelcomeText: string;
|
|
38
42
|
intro?: string;
|
|
39
43
|
layoutBuilder: LlmCard[];
|
|
40
44
|
logo?: IMedia;
|
|
41
45
|
logoMini?: IMedia;
|
|
42
|
-
additionalLogos?: {
|
|
43
|
-
logo: IMedia;
|
|
44
|
-
}[];
|
|
45
46
|
promptPlaceholder?: string;
|
|
46
47
|
sampleInputTexts: LlmSampleInputText[];
|
|
47
48
|
shortWelcomeText: string;
|
|
49
|
+
recognitionMode?: LlmRecognitionMode;
|
|
50
|
+
synthesisMode?: LlmSynthesisMode;
|
|
51
|
+
textToSpeechApiKey?: string;
|
|
52
|
+
textToSpeechVoiceId?: string;
|
|
53
|
+
disableSpeechSynthesis?: boolean;
|
|
54
|
+
disableSpeechRecognition?: boolean;
|
|
48
55
|
};
|
|
49
|
-
type LlmMode = 'site' | 'chat';
|
|
56
|
+
type LlmMode = ('site' | 'chat' | 'url2text' | 'translation') & string;
|
|
50
57
|
type LlmMockApp = {
|
|
51
58
|
mode: LlmMode;
|
|
52
59
|
contents: LlmContents;
|
package/dist/umd/index.css
CHANGED
|
@@ -1664,12 +1664,20 @@ llm-embed {
|
|
|
1664
1664
|
background: var(--llm-input-background);
|
|
1665
1665
|
width: 100%;
|
|
1666
1666
|
}
|
|
1667
|
-
.llm .llm__prompt-input.-speech-
|
|
1668
|
-
padding:
|
|
1667
|
+
.llm .llm__prompt-input.-speech-synthesis > .llm__prompt-textarea {
|
|
1668
|
+
padding-left: 40px;
|
|
1669
1669
|
}
|
|
1670
1670
|
@media (min-width: 1024px) {
|
|
1671
|
-
.llm .llm__prompt-input.-speech-
|
|
1672
|
-
padding:
|
|
1671
|
+
.llm .llm__prompt-input.-speech-synthesis > .llm__prompt-textarea {
|
|
1672
|
+
padding-left: 40px;
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
.llm .llm__prompt-input.-speech-recognition > .llm__prompt-textarea {
|
|
1676
|
+
padding-right: 40px;
|
|
1677
|
+
}
|
|
1678
|
+
@media (min-width: 1024px) {
|
|
1679
|
+
.llm .llm__prompt-input.-speech-recognition > .llm__prompt-textarea {
|
|
1680
|
+
padding-right: 40px;
|
|
1673
1681
|
}
|
|
1674
1682
|
}
|
|
1675
1683
|
.llm .llm__prompt-label {
|