@intelliweave/embedded 1.7.57 → 1.7.59
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/custom.d.ts +1 -1
- package/dist/component/component.d.ts +12 -1
- package/dist/component/component.js +42 -22
- package/dist/intelliweave-wordpress.zip +0 -0
- package/dist/node/node.d.ts +153 -14
- package/dist/node/node.js +10 -10
- package/dist/react/react.d.ts +11 -1
- package/dist/react/react.js +42 -22
- package/dist/script-tag/script-tag.js +54 -34
- package/dist/webpack/index.d.ts +129 -88
- package/dist/webpack/index.js +48 -28
- package/package.json +1 -1
package/custom.d.ts
CHANGED
|
@@ -594,6 +594,12 @@ interface WebWeaverGPTConfig {
|
|
|
594
594
|
instructions?: string;
|
|
595
595
|
/** Introduction message, used in the automatic UI */
|
|
596
596
|
introductionMessage?: string;
|
|
597
|
+
/** URL to the logo image to display in the chat UI */
|
|
598
|
+
logo?: string;
|
|
599
|
+
/** Background color or gradient or image for the chat UI */
|
|
600
|
+
background?: string;
|
|
601
|
+
/** Text color for the chat UI */
|
|
602
|
+
textColor?: string;
|
|
597
603
|
/** Voice information */
|
|
598
604
|
voice?: {
|
|
599
605
|
/** Provider ID */
|
|
@@ -679,7 +685,7 @@ declare class IntelliWeave extends EventTarget {
|
|
|
679
685
|
setModel(id: string): void;
|
|
680
686
|
private _lastSystemMsg;
|
|
681
687
|
/** Get the system message prefix, before the KB entries are added */
|
|
682
|
-
getContextPrefix(): Promise<
|
|
688
|
+
getContextPrefix(): Promise<string>;
|
|
683
689
|
/** Get system message to send to the AI */
|
|
684
690
|
onBeforeMessageProcessing(): Promise<void>;
|
|
685
691
|
private _lastOutput?;
|
|
@@ -783,6 +789,11 @@ declare class WebWeaverEmbed extends BaseComponent {
|
|
|
783
789
|
html: () => string;
|
|
784
790
|
/** On create */
|
|
785
791
|
onCreate(): void;
|
|
792
|
+
private _lastLogo?;
|
|
793
|
+
private _lastBackground?;
|
|
794
|
+
private _lastTextColor?;
|
|
795
|
+
/** Apply UI styles from config and attributes, prioritizing attributes */
|
|
796
|
+
private applyConfigStylesAndAttributes;
|
|
786
797
|
/** Called on update */
|
|
787
798
|
onUpdate(): void;
|
|
788
799
|
/** Called when the component is created */
|