@liip/liipgpt 2.6.3 → 3.0.1
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/button/liipgpt-button.iife.js +47 -6
- package/chat/liipgpt-chat.iife.js +80 -39
- package/config/index.cjs +32 -3
- package/config/index.d.ts +229 -40
- package/config/index.js +32 -3
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/{B5PG2YOi.js → BIw7mIZg.js} +1 -1
- package/configurator/_app/immutable/chunks/{Buwjqn5O.js → BPJ7Wmg3.js} +1 -1
- package/configurator/_app/immutable/chunks/{M-YrVFI7.js → CKBsx5jh.js} +1 -1
- package/configurator/_app/immutable/chunks/{DM86f7bv.js → CqNGr6R_.js} +1 -1
- package/configurator/_app/immutable/chunks/DH6_7DlS.js +1 -0
- package/configurator/_app/immutable/chunks/{CEfrDbdG.js → DM9xjBdl.js} +1 -1
- package/configurator/_app/immutable/chunks/{DC-s52-u.js → DMTdy3IZ.js} +1 -1
- package/configurator/_app/immutable/chunks/DVTYeJvc.js +212 -0
- package/configurator/_app/immutable/chunks/{CmG21xA6.js → DZAtpb6s.js} +1 -1
- package/configurator/_app/immutable/chunks/{By2gon5z.js → Di6C1oUV.js} +44 -3
- package/configurator/_app/immutable/chunks/DpcCjBSs.js +1 -0
- package/configurator/_app/immutable/chunks/{Bu5Euvdy.js → LW4IUse-.js} +1 -1
- package/configurator/_app/immutable/chunks/VjGro3qS.js +3 -0
- package/configurator/_app/immutable/entry/{app.BUCp2aC3.js → app.wI9AVyff.js} +2 -2
- package/configurator/_app/immutable/entry/start.CnAJOcVC.js +1 -0
- package/configurator/_app/immutable/nodes/{0.DhCD7a6h.js → 0.ByX4FMkM.js} +44 -2
- package/configurator/_app/immutable/nodes/{1.BVXr-J1L.js → 1.5QgCKazX.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.DXIIG1eK.js → 2.B9k7keD0.js} +3 -3
- package/configurator/_app/immutable/nodes/{3.CRTmaP0m.js → 3.CNMBoYpO.js} +1 -1
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +10 -10
- package/configurator/sidebar.html +10 -10
- package/index.cjs +39 -7
- package/index.d.ts +530 -67
- package/index.js +39 -7
- package/package.json +1 -1
- package/configurator/_app/immutable/chunks/B-JTxB9f.js +0 -1
- package/configurator/_app/immutable/chunks/C1GrbPOB.js +0 -1
- package/configurator/_app/immutable/chunks/CRx8IJ7-.js +0 -212
- package/configurator/_app/immutable/chunks/DmjYRs9V.js +0 -3
- package/configurator/_app/immutable/entry/start.Ch6vVA3P.js +0 -1
package/index.d.ts
CHANGED
|
@@ -2149,6 +2149,30 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
|
|
|
2149
2149
|
darkMode: z.ZodString;
|
|
2150
2150
|
termsTitle: z.ZodOptional<z.ZodString>;
|
|
2151
2151
|
termsContent: z.ZodOptional<z.ZodString>;
|
|
2152
|
+
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2153
|
+
name: z.ZodString;
|
|
2154
|
+
namePlural: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
intro: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
placeholder: z.ZodString;
|
|
2157
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2158
|
+
}, "strip", z.ZodTypeAny, {
|
|
2159
|
+
values: Record<string, string>;
|
|
2160
|
+
name: string;
|
|
2161
|
+
placeholder: string;
|
|
2162
|
+
namePlural?: string | undefined;
|
|
2163
|
+
intro?: string | undefined;
|
|
2164
|
+
}, {
|
|
2165
|
+
values: Record<string, string>;
|
|
2166
|
+
name: string;
|
|
2167
|
+
placeholder: string;
|
|
2168
|
+
namePlural?: string | undefined;
|
|
2169
|
+
intro?: string | undefined;
|
|
2170
|
+
}>>>;
|
|
2171
|
+
hideSettings: z.ZodString;
|
|
2172
|
+
showSettings: z.ZodString;
|
|
2173
|
+
chooseAtLeastOneOption: z.ZodString;
|
|
2174
|
+
selectAll: z.ZodString;
|
|
2175
|
+
selectNone: z.ZodString;
|
|
2152
2176
|
}, "strip", z.ZodTypeAny, {
|
|
2153
2177
|
lightMode: string;
|
|
2154
2178
|
darkMode: string;
|
|
@@ -2190,6 +2214,11 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
|
|
|
2190
2214
|
classificationThankYou: string;
|
|
2191
2215
|
classificationTitle: string;
|
|
2192
2216
|
selectLanguage: string;
|
|
2217
|
+
hideSettings: string;
|
|
2218
|
+
showSettings: string;
|
|
2219
|
+
chooseAtLeastOneOption: string;
|
|
2220
|
+
selectAll: string;
|
|
2221
|
+
selectNone: string;
|
|
2193
2222
|
introductionDisclaimer?: string | undefined;
|
|
2194
2223
|
chatInputPlaceholderListening?: string | undefined;
|
|
2195
2224
|
chatFooterText?: string | undefined;
|
|
@@ -2198,6 +2227,13 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
|
|
|
2198
2227
|
aboutThisChat?: string | undefined;
|
|
2199
2228
|
termsTitle?: string | undefined;
|
|
2200
2229
|
termsContent?: string | undefined;
|
|
2230
|
+
selectors?: Record<string, {
|
|
2231
|
+
values: Record<string, string>;
|
|
2232
|
+
name: string;
|
|
2233
|
+
placeholder: string;
|
|
2234
|
+
namePlural?: string | undefined;
|
|
2235
|
+
intro?: string | undefined;
|
|
2236
|
+
}> | undefined;
|
|
2201
2237
|
}, {
|
|
2202
2238
|
lightMode: string;
|
|
2203
2239
|
darkMode: string;
|
|
@@ -2239,6 +2275,11 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
|
|
|
2239
2275
|
classificationThankYou: string;
|
|
2240
2276
|
classificationTitle: string;
|
|
2241
2277
|
selectLanguage: string;
|
|
2278
|
+
hideSettings: string;
|
|
2279
|
+
showSettings: string;
|
|
2280
|
+
chooseAtLeastOneOption: string;
|
|
2281
|
+
selectAll: string;
|
|
2282
|
+
selectNone: string;
|
|
2242
2283
|
introductionDisclaimer?: string | undefined;
|
|
2243
2284
|
chatInputPlaceholderListening?: string | undefined;
|
|
2244
2285
|
chatFooterText?: string | undefined;
|
|
@@ -2247,7 +2288,40 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
|
|
|
2247
2288
|
aboutThisChat?: string | undefined;
|
|
2248
2289
|
termsTitle?: string | undefined;
|
|
2249
2290
|
termsContent?: string | undefined;
|
|
2291
|
+
selectors?: Record<string, {
|
|
2292
|
+
values: Record<string, string>;
|
|
2293
|
+
name: string;
|
|
2294
|
+
placeholder: string;
|
|
2295
|
+
namePlural?: string | undefined;
|
|
2296
|
+
intro?: string | undefined;
|
|
2297
|
+
}> | undefined;
|
|
2250
2298
|
}>>;
|
|
2299
|
+
declare const chatSettingConfigSchema: z.ZodObject<{
|
|
2300
|
+
settingName: z.ZodString;
|
|
2301
|
+
/** Icon name that has to match an SVG definition in the theme */
|
|
2302
|
+
iconName: z.ZodString;
|
|
2303
|
+
settingIntro: z.ZodOptional<z.ZodString>;
|
|
2304
|
+
type: z.ZodEnum<[
|
|
2305
|
+
"single-select",
|
|
2306
|
+
"multi-select"
|
|
2307
|
+
]>;
|
|
2308
|
+
allowEmpty: z.ZodBoolean;
|
|
2309
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
2310
|
+
}, "strip", z.ZodTypeAny, {
|
|
2311
|
+
type: "single-select" | "multi-select";
|
|
2312
|
+
values: string[];
|
|
2313
|
+
settingName: string;
|
|
2314
|
+
iconName: string;
|
|
2315
|
+
allowEmpty: boolean;
|
|
2316
|
+
settingIntro?: string | undefined;
|
|
2317
|
+
}, {
|
|
2318
|
+
type: "single-select" | "multi-select";
|
|
2319
|
+
values: string[];
|
|
2320
|
+
settingName: string;
|
|
2321
|
+
iconName: string;
|
|
2322
|
+
allowEmpty: boolean;
|
|
2323
|
+
settingIntro?: string | undefined;
|
|
2324
|
+
}>;
|
|
2251
2325
|
export declare const completeChatConfigSchema: z.ZodObject<{
|
|
2252
2326
|
/** Shows cards of predefined questions on the start page */
|
|
2253
2327
|
showPredefinedQuestions: z.ZodBoolean;
|
|
@@ -2261,6 +2335,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
2261
2335
|
showContextInfo: z.ZodBoolean;
|
|
2262
2336
|
/** Shows the sidebar with references directly after the first question. */
|
|
2263
2337
|
showReferencesByDefault: z.ZodBoolean;
|
|
2338
|
+
/** Shows the settings drawer open, if any, below the chat input */
|
|
2339
|
+
showExpandedSelectors: z.ZodBoolean;
|
|
2264
2340
|
/** Enables or disables audio input (speech recognition) functionality */
|
|
2265
2341
|
allowAudioInput: z.ZodBoolean;
|
|
2266
2342
|
/** Enables a simple frontend implementation for blocking PII */
|
|
@@ -3481,6 +3557,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
3481
3557
|
"chevronDown",
|
|
3482
3558
|
"chevronUp",
|
|
3483
3559
|
"chevronTopDown",
|
|
3560
|
+
"chevronDownSmall",
|
|
3484
3561
|
"internalLink",
|
|
3485
3562
|
"externalLink",
|
|
3486
3563
|
"liip",
|
|
@@ -3491,7 +3568,12 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
3491
3568
|
"listUnordered",
|
|
3492
3569
|
"lightMode",
|
|
3493
3570
|
"darkMode",
|
|
3494
|
-
"avatarLarge"
|
|
3571
|
+
"avatarLarge",
|
|
3572
|
+
"settings",
|
|
3573
|
+
"settingsClose",
|
|
3574
|
+
"sources",
|
|
3575
|
+
"model",
|
|
3576
|
+
"checkbox"
|
|
3495
3577
|
]>, z.ZodString>>;
|
|
3496
3578
|
}, "strip", z.ZodTypeAny, {
|
|
3497
3579
|
font?: {
|
|
@@ -3624,7 +3706,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
3624
3706
|
borderColor?: string | undefined;
|
|
3625
3707
|
boxShadow?: string | undefined;
|
|
3626
3708
|
}> | undefined;
|
|
3627
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
3709
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
3628
3710
|
}, {
|
|
3629
3711
|
font?: {
|
|
3630
3712
|
family?: string | undefined;
|
|
@@ -3756,7 +3838,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
3756
3838
|
borderColor?: string | undefined;
|
|
3757
3839
|
boxShadow?: string | undefined;
|
|
3758
3840
|
}> | undefined;
|
|
3759
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
3841
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
3760
3842
|
}>>;
|
|
3761
3843
|
}, "strip", z.ZodTypeAny, {
|
|
3762
3844
|
customCSS?: string | undefined;
|
|
@@ -3893,7 +3975,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
3893
3975
|
borderColor?: string | undefined;
|
|
3894
3976
|
boxShadow?: string | undefined;
|
|
3895
3977
|
}> | undefined;
|
|
3896
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
3978
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
3897
3979
|
} | undefined;
|
|
3898
3980
|
}, {
|
|
3899
3981
|
customCSS?: string | undefined;
|
|
@@ -4030,7 +4112,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
4030
4112
|
borderColor?: string | undefined;
|
|
4031
4113
|
boxShadow?: string | undefined;
|
|
4032
4114
|
}> | undefined;
|
|
4033
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
4115
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
4034
4116
|
} | undefined;
|
|
4035
4117
|
}>>;
|
|
4036
4118
|
dark: z.ZodOptional<z.ZodObject<{
|
|
@@ -4658,6 +4740,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
4658
4740
|
"chevronDown",
|
|
4659
4741
|
"chevronUp",
|
|
4660
4742
|
"chevronTopDown",
|
|
4743
|
+
"chevronDownSmall",
|
|
4661
4744
|
"internalLink",
|
|
4662
4745
|
"externalLink",
|
|
4663
4746
|
"liip",
|
|
@@ -4668,7 +4751,12 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
4668
4751
|
"listUnordered",
|
|
4669
4752
|
"lightMode",
|
|
4670
4753
|
"darkMode",
|
|
4671
|
-
"avatarLarge"
|
|
4754
|
+
"avatarLarge",
|
|
4755
|
+
"settings",
|
|
4756
|
+
"settingsClose",
|
|
4757
|
+
"sources",
|
|
4758
|
+
"model",
|
|
4759
|
+
"checkbox"
|
|
4672
4760
|
]>, z.ZodString>>;
|
|
4673
4761
|
}, "strip", z.ZodTypeAny, {
|
|
4674
4762
|
font?: {
|
|
@@ -4801,7 +4889,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
4801
4889
|
borderColor?: string | undefined;
|
|
4802
4890
|
boxShadow?: string | undefined;
|
|
4803
4891
|
}> | undefined;
|
|
4804
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
4892
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
4805
4893
|
}, {
|
|
4806
4894
|
font?: {
|
|
4807
4895
|
family?: string | undefined;
|
|
@@ -4933,7 +5021,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
4933
5021
|
borderColor?: string | undefined;
|
|
4934
5022
|
boxShadow?: string | undefined;
|
|
4935
5023
|
}> | undefined;
|
|
4936
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5024
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
4937
5025
|
}>>;
|
|
4938
5026
|
}, "strip", z.ZodTypeAny, {
|
|
4939
5027
|
customCSS?: string | undefined;
|
|
@@ -5070,7 +5158,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5070
5158
|
borderColor?: string | undefined;
|
|
5071
5159
|
boxShadow?: string | undefined;
|
|
5072
5160
|
}> | undefined;
|
|
5073
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5161
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5074
5162
|
} | undefined;
|
|
5075
5163
|
}, {
|
|
5076
5164
|
customCSS?: string | undefined;
|
|
@@ -5207,7 +5295,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5207
5295
|
borderColor?: string | undefined;
|
|
5208
5296
|
boxShadow?: string | undefined;
|
|
5209
5297
|
}> | undefined;
|
|
5210
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5298
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5211
5299
|
} | undefined;
|
|
5212
5300
|
}>>;
|
|
5213
5301
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5346,7 +5434,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5346
5434
|
borderColor?: string | undefined;
|
|
5347
5435
|
boxShadow?: string | undefined;
|
|
5348
5436
|
}> | undefined;
|
|
5349
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5437
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5350
5438
|
} | undefined;
|
|
5351
5439
|
} | undefined;
|
|
5352
5440
|
dark?: {
|
|
@@ -5484,7 +5572,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5484
5572
|
borderColor?: string | undefined;
|
|
5485
5573
|
boxShadow?: string | undefined;
|
|
5486
5574
|
}> | undefined;
|
|
5487
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5575
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5488
5576
|
} | undefined;
|
|
5489
5577
|
} | undefined;
|
|
5490
5578
|
}, {
|
|
@@ -5623,7 +5711,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5623
5711
|
borderColor?: string | undefined;
|
|
5624
5712
|
boxShadow?: string | undefined;
|
|
5625
5713
|
}> | undefined;
|
|
5626
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5714
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5627
5715
|
} | undefined;
|
|
5628
5716
|
} | undefined;
|
|
5629
5717
|
dark?: {
|
|
@@ -5761,7 +5849,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5761
5849
|
borderColor?: string | undefined;
|
|
5762
5850
|
boxShadow?: string | undefined;
|
|
5763
5851
|
}> | undefined;
|
|
5764
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
5852
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5765
5853
|
} | undefined;
|
|
5766
5854
|
} | undefined;
|
|
5767
5855
|
}>>;
|
|
@@ -5988,7 +6076,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5988
6076
|
borderColor?: string | undefined;
|
|
5989
6077
|
boxShadow?: string | undefined;
|
|
5990
6078
|
}> | undefined;
|
|
5991
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
6079
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
5992
6080
|
} | undefined;
|
|
5993
6081
|
} | undefined;
|
|
5994
6082
|
dark?: {
|
|
@@ -6126,7 +6214,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6126
6214
|
borderColor?: string | undefined;
|
|
6127
6215
|
boxShadow?: string | undefined;
|
|
6128
6216
|
}> | undefined;
|
|
6129
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
6217
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
6130
6218
|
} | undefined;
|
|
6131
6219
|
} | undefined;
|
|
6132
6220
|
} | undefined;
|
|
@@ -6353,7 +6441,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6353
6441
|
borderColor?: string | undefined;
|
|
6354
6442
|
boxShadow?: string | undefined;
|
|
6355
6443
|
}> | undefined;
|
|
6356
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
6444
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
6357
6445
|
} | undefined;
|
|
6358
6446
|
} | undefined;
|
|
6359
6447
|
dark?: {
|
|
@@ -6491,7 +6579,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6491
6579
|
borderColor?: string | undefined;
|
|
6492
6580
|
boxShadow?: string | undefined;
|
|
6493
6581
|
}> | undefined;
|
|
6494
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
6582
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
6495
6583
|
} | undefined;
|
|
6496
6584
|
} | undefined;
|
|
6497
6585
|
} | undefined;
|
|
@@ -6551,6 +6639,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6551
6639
|
darkMode: z.ZodOptional<z.ZodString>;
|
|
6552
6640
|
termsTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6553
6641
|
termsContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6642
|
+
selectors: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6643
|
+
name: z.ZodString;
|
|
6644
|
+
namePlural: z.ZodOptional<z.ZodString>;
|
|
6645
|
+
intro: z.ZodOptional<z.ZodString>;
|
|
6646
|
+
placeholder: z.ZodString;
|
|
6647
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6648
|
+
}, "strip", z.ZodTypeAny, {
|
|
6649
|
+
values: Record<string, string>;
|
|
6650
|
+
name: string;
|
|
6651
|
+
placeholder: string;
|
|
6652
|
+
namePlural?: string | undefined;
|
|
6653
|
+
intro?: string | undefined;
|
|
6654
|
+
}, {
|
|
6655
|
+
values: Record<string, string>;
|
|
6656
|
+
name: string;
|
|
6657
|
+
placeholder: string;
|
|
6658
|
+
namePlural?: string | undefined;
|
|
6659
|
+
intro?: string | undefined;
|
|
6660
|
+
}>>>>;
|
|
6661
|
+
hideSettings: z.ZodOptional<z.ZodString>;
|
|
6662
|
+
showSettings: z.ZodOptional<z.ZodString>;
|
|
6663
|
+
chooseAtLeastOneOption: z.ZodOptional<z.ZodString>;
|
|
6664
|
+
selectAll: z.ZodOptional<z.ZodString>;
|
|
6665
|
+
selectNone: z.ZodOptional<z.ZodString>;
|
|
6554
6666
|
}, "strip", z.ZodTypeAny, {
|
|
6555
6667
|
lightMode?: string | undefined;
|
|
6556
6668
|
darkMode?: string | undefined;
|
|
@@ -6600,6 +6712,18 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6600
6712
|
selectLanguage?: string | undefined;
|
|
6601
6713
|
termsTitle?: string | undefined;
|
|
6602
6714
|
termsContent?: string | undefined;
|
|
6715
|
+
selectors?: Record<string, {
|
|
6716
|
+
values: Record<string, string>;
|
|
6717
|
+
name: string;
|
|
6718
|
+
placeholder: string;
|
|
6719
|
+
namePlural?: string | undefined;
|
|
6720
|
+
intro?: string | undefined;
|
|
6721
|
+
}> | undefined;
|
|
6722
|
+
hideSettings?: string | undefined;
|
|
6723
|
+
showSettings?: string | undefined;
|
|
6724
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
6725
|
+
selectAll?: string | undefined;
|
|
6726
|
+
selectNone?: string | undefined;
|
|
6603
6727
|
}, {
|
|
6604
6728
|
lightMode?: string | undefined;
|
|
6605
6729
|
darkMode?: string | undefined;
|
|
@@ -6649,6 +6773,18 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6649
6773
|
selectLanguage?: string | undefined;
|
|
6650
6774
|
termsTitle?: string | undefined;
|
|
6651
6775
|
termsContent?: string | undefined;
|
|
6776
|
+
selectors?: Record<string, {
|
|
6777
|
+
values: Record<string, string>;
|
|
6778
|
+
name: string;
|
|
6779
|
+
placeholder: string;
|
|
6780
|
+
namePlural?: string | undefined;
|
|
6781
|
+
intro?: string | undefined;
|
|
6782
|
+
}> | undefined;
|
|
6783
|
+
hideSettings?: string | undefined;
|
|
6784
|
+
showSettings?: string | undefined;
|
|
6785
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
6786
|
+
selectAll?: string | undefined;
|
|
6787
|
+
selectNone?: string | undefined;
|
|
6652
6788
|
}>>;
|
|
6653
6789
|
/** href of the standalone liipgpt-button component */
|
|
6654
6790
|
buttonHref: z.ZodOptional<z.ZodString>;
|
|
@@ -6672,6 +6808,32 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6672
6808
|
"none",
|
|
6673
6809
|
"location"
|
|
6674
6810
|
]>>;
|
|
6811
|
+
selectorsConfig: z.ZodArray<z.ZodObject<{
|
|
6812
|
+
settingName: z.ZodString;
|
|
6813
|
+
/** Icon name that has to match an SVG definition in the theme */
|
|
6814
|
+
iconName: z.ZodString;
|
|
6815
|
+
settingIntro: z.ZodOptional<z.ZodString>;
|
|
6816
|
+
type: z.ZodEnum<[
|
|
6817
|
+
"single-select",
|
|
6818
|
+
"multi-select"
|
|
6819
|
+
]>;
|
|
6820
|
+
allowEmpty: z.ZodBoolean;
|
|
6821
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
6822
|
+
}, "strip", z.ZodTypeAny, {
|
|
6823
|
+
type: "single-select" | "multi-select";
|
|
6824
|
+
values: string[];
|
|
6825
|
+
settingName: string;
|
|
6826
|
+
iconName: string;
|
|
6827
|
+
allowEmpty: boolean;
|
|
6828
|
+
settingIntro?: string | undefined;
|
|
6829
|
+
}, {
|
|
6830
|
+
type: "single-select" | "multi-select";
|
|
6831
|
+
values: string[];
|
|
6832
|
+
settingName: string;
|
|
6833
|
+
iconName: string;
|
|
6834
|
+
allowEmpty: boolean;
|
|
6835
|
+
settingIntro?: string | undefined;
|
|
6836
|
+
}>, "many">;
|
|
6675
6837
|
}, "strip", z.ZodTypeAny, {
|
|
6676
6838
|
showPredefinedQuestions: boolean;
|
|
6677
6839
|
showOverallFeedbackButton: boolean;
|
|
@@ -6679,6 +6841,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6679
6841
|
showContextMenu: boolean;
|
|
6680
6842
|
showContextInfo: boolean;
|
|
6681
6843
|
showReferencesByDefault: boolean;
|
|
6844
|
+
showExpandedSelectors: boolean;
|
|
6682
6845
|
allowAudioInput: boolean;
|
|
6683
6846
|
blockPII: boolean;
|
|
6684
6847
|
questionPrefix: string;
|
|
@@ -6907,7 +7070,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6907
7070
|
borderColor?: string | undefined;
|
|
6908
7071
|
boxShadow?: string | undefined;
|
|
6909
7072
|
}> | undefined;
|
|
6910
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
7073
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
6911
7074
|
} | undefined;
|
|
6912
7075
|
} | undefined;
|
|
6913
7076
|
dark?: {
|
|
@@ -7045,7 +7208,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7045
7208
|
borderColor?: string | undefined;
|
|
7046
7209
|
boxShadow?: string | undefined;
|
|
7047
7210
|
}> | undefined;
|
|
7048
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
7211
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
7049
7212
|
} | undefined;
|
|
7050
7213
|
} | undefined;
|
|
7051
7214
|
} | undefined;
|
|
@@ -7099,7 +7262,27 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7099
7262
|
selectLanguage?: string | undefined;
|
|
7100
7263
|
termsTitle?: string | undefined;
|
|
7101
7264
|
termsContent?: string | undefined;
|
|
7265
|
+
selectors?: Record<string, {
|
|
7266
|
+
values: Record<string, string>;
|
|
7267
|
+
name: string;
|
|
7268
|
+
placeholder: string;
|
|
7269
|
+
namePlural?: string | undefined;
|
|
7270
|
+
intro?: string | undefined;
|
|
7271
|
+
}> | undefined;
|
|
7272
|
+
hideSettings?: string | undefined;
|
|
7273
|
+
showSettings?: string | undefined;
|
|
7274
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
7275
|
+
selectAll?: string | undefined;
|
|
7276
|
+
selectNone?: string | undefined;
|
|
7102
7277
|
}>>;
|
|
7278
|
+
selectorsConfig: {
|
|
7279
|
+
type: "single-select" | "multi-select";
|
|
7280
|
+
values: string[];
|
|
7281
|
+
settingName: string;
|
|
7282
|
+
iconName: string;
|
|
7283
|
+
allowEmpty: boolean;
|
|
7284
|
+
settingIntro?: string | undefined;
|
|
7285
|
+
}[];
|
|
7103
7286
|
menu?: Partial<Record<"en" | "de" | "fr" | "it", {
|
|
7104
7287
|
url: string;
|
|
7105
7288
|
label: string;
|
|
@@ -7134,6 +7317,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7134
7317
|
showContextMenu: boolean;
|
|
7135
7318
|
showContextInfo: boolean;
|
|
7136
7319
|
showReferencesByDefault: boolean;
|
|
7320
|
+
showExpandedSelectors: boolean;
|
|
7137
7321
|
allowAudioInput: boolean;
|
|
7138
7322
|
blockPII: boolean;
|
|
7139
7323
|
questionPrefix: string;
|
|
@@ -7362,7 +7546,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7362
7546
|
borderColor?: string | undefined;
|
|
7363
7547
|
boxShadow?: string | undefined;
|
|
7364
7548
|
}> | undefined;
|
|
7365
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
7549
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
7366
7550
|
} | undefined;
|
|
7367
7551
|
} | undefined;
|
|
7368
7552
|
dark?: {
|
|
@@ -7500,7 +7684,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7500
7684
|
borderColor?: string | undefined;
|
|
7501
7685
|
boxShadow?: string | undefined;
|
|
7502
7686
|
}> | undefined;
|
|
7503
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
7687
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
7504
7688
|
} | undefined;
|
|
7505
7689
|
} | undefined;
|
|
7506
7690
|
} | undefined;
|
|
@@ -7554,7 +7738,27 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7554
7738
|
selectLanguage?: string | undefined;
|
|
7555
7739
|
termsTitle?: string | undefined;
|
|
7556
7740
|
termsContent?: string | undefined;
|
|
7741
|
+
selectors?: Record<string, {
|
|
7742
|
+
values: Record<string, string>;
|
|
7743
|
+
name: string;
|
|
7744
|
+
placeholder: string;
|
|
7745
|
+
namePlural?: string | undefined;
|
|
7746
|
+
intro?: string | undefined;
|
|
7747
|
+
}> | undefined;
|
|
7748
|
+
hideSettings?: string | undefined;
|
|
7749
|
+
showSettings?: string | undefined;
|
|
7750
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
7751
|
+
selectAll?: string | undefined;
|
|
7752
|
+
selectNone?: string | undefined;
|
|
7557
7753
|
}>>;
|
|
7754
|
+
selectorsConfig: {
|
|
7755
|
+
type: "single-select" | "multi-select";
|
|
7756
|
+
values: string[];
|
|
7757
|
+
settingName: string;
|
|
7758
|
+
iconName: string;
|
|
7759
|
+
allowEmpty: boolean;
|
|
7760
|
+
settingIntro?: string | undefined;
|
|
7761
|
+
}[];
|
|
7558
7762
|
menu?: Partial<Record<"en" | "de" | "fr" | "it", {
|
|
7559
7763
|
url: string;
|
|
7560
7764
|
label: string;
|
|
@@ -7590,6 +7794,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7590
7794
|
showContextMenu: z.ZodOptional<z.ZodBoolean>;
|
|
7591
7795
|
showContextInfo: z.ZodOptional<z.ZodBoolean>;
|
|
7592
7796
|
showReferencesByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
7797
|
+
showExpandedSelectors: z.ZodOptional<z.ZodBoolean>;
|
|
7593
7798
|
allowAudioInput: z.ZodOptional<z.ZodBoolean>;
|
|
7594
7799
|
blockPII: z.ZodOptional<z.ZodBoolean>;
|
|
7595
7800
|
questionPrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -8802,6 +9007,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8802
9007
|
"chevronDown",
|
|
8803
9008
|
"chevronUp",
|
|
8804
9009
|
"chevronTopDown",
|
|
9010
|
+
"chevronDownSmall",
|
|
8805
9011
|
"internalLink",
|
|
8806
9012
|
"externalLink",
|
|
8807
9013
|
"liip",
|
|
@@ -8812,7 +9018,12 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8812
9018
|
"listUnordered",
|
|
8813
9019
|
"lightMode",
|
|
8814
9020
|
"darkMode",
|
|
8815
|
-
"avatarLarge"
|
|
9021
|
+
"avatarLarge",
|
|
9022
|
+
"settings",
|
|
9023
|
+
"settingsClose",
|
|
9024
|
+
"sources",
|
|
9025
|
+
"model",
|
|
9026
|
+
"checkbox"
|
|
8816
9027
|
]>, z.ZodString>>;
|
|
8817
9028
|
}, "strip", z.ZodTypeAny, {
|
|
8818
9029
|
font?: {
|
|
@@ -8945,7 +9156,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8945
9156
|
borderColor?: string | undefined;
|
|
8946
9157
|
boxShadow?: string | undefined;
|
|
8947
9158
|
}> | undefined;
|
|
8948
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
9159
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
8949
9160
|
}, {
|
|
8950
9161
|
font?: {
|
|
8951
9162
|
family?: string | undefined;
|
|
@@ -9077,7 +9288,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9077
9288
|
borderColor?: string | undefined;
|
|
9078
9289
|
boxShadow?: string | undefined;
|
|
9079
9290
|
}> | undefined;
|
|
9080
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
9291
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
9081
9292
|
}>>;
|
|
9082
9293
|
}, "strip", z.ZodTypeAny, {
|
|
9083
9294
|
customCSS?: string | undefined;
|
|
@@ -9214,7 +9425,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9214
9425
|
borderColor?: string | undefined;
|
|
9215
9426
|
boxShadow?: string | undefined;
|
|
9216
9427
|
}> | undefined;
|
|
9217
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
9428
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
9218
9429
|
} | undefined;
|
|
9219
9430
|
}, {
|
|
9220
9431
|
customCSS?: string | undefined;
|
|
@@ -9351,7 +9562,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9351
9562
|
borderColor?: string | undefined;
|
|
9352
9563
|
boxShadow?: string | undefined;
|
|
9353
9564
|
}> | undefined;
|
|
9354
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
9565
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
9355
9566
|
} | undefined;
|
|
9356
9567
|
}>>;
|
|
9357
9568
|
dark: z.ZodOptional<z.ZodObject<{
|
|
@@ -9979,6 +10190,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9979
10190
|
"chevronDown",
|
|
9980
10191
|
"chevronUp",
|
|
9981
10192
|
"chevronTopDown",
|
|
10193
|
+
"chevronDownSmall",
|
|
9982
10194
|
"internalLink",
|
|
9983
10195
|
"externalLink",
|
|
9984
10196
|
"liip",
|
|
@@ -9989,7 +10201,12 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9989
10201
|
"listUnordered",
|
|
9990
10202
|
"lightMode",
|
|
9991
10203
|
"darkMode",
|
|
9992
|
-
"avatarLarge"
|
|
10204
|
+
"avatarLarge",
|
|
10205
|
+
"settings",
|
|
10206
|
+
"settingsClose",
|
|
10207
|
+
"sources",
|
|
10208
|
+
"model",
|
|
10209
|
+
"checkbox"
|
|
9993
10210
|
]>, z.ZodString>>;
|
|
9994
10211
|
}, "strip", z.ZodTypeAny, {
|
|
9995
10212
|
font?: {
|
|
@@ -10122,7 +10339,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10122
10339
|
borderColor?: string | undefined;
|
|
10123
10340
|
boxShadow?: string | undefined;
|
|
10124
10341
|
}> | undefined;
|
|
10125
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
10342
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10126
10343
|
}, {
|
|
10127
10344
|
font?: {
|
|
10128
10345
|
family?: string | undefined;
|
|
@@ -10254,7 +10471,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10254
10471
|
borderColor?: string | undefined;
|
|
10255
10472
|
boxShadow?: string | undefined;
|
|
10256
10473
|
}> | undefined;
|
|
10257
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
10474
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10258
10475
|
}>>;
|
|
10259
10476
|
}, "strip", z.ZodTypeAny, {
|
|
10260
10477
|
customCSS?: string | undefined;
|
|
@@ -10391,7 +10608,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10391
10608
|
borderColor?: string | undefined;
|
|
10392
10609
|
boxShadow?: string | undefined;
|
|
10393
10610
|
}> | undefined;
|
|
10394
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
10611
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10395
10612
|
} | undefined;
|
|
10396
10613
|
}, {
|
|
10397
10614
|
customCSS?: string | undefined;
|
|
@@ -10528,7 +10745,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10528
10745
|
borderColor?: string | undefined;
|
|
10529
10746
|
boxShadow?: string | undefined;
|
|
10530
10747
|
}> | undefined;
|
|
10531
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
10748
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10532
10749
|
} | undefined;
|
|
10533
10750
|
}>>;
|
|
10534
10751
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10667,7 +10884,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10667
10884
|
borderColor?: string | undefined;
|
|
10668
10885
|
boxShadow?: string | undefined;
|
|
10669
10886
|
}> | undefined;
|
|
10670
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
10887
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10671
10888
|
} | undefined;
|
|
10672
10889
|
} | undefined;
|
|
10673
10890
|
dark?: {
|
|
@@ -10805,7 +11022,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10805
11022
|
borderColor?: string | undefined;
|
|
10806
11023
|
boxShadow?: string | undefined;
|
|
10807
11024
|
}> | undefined;
|
|
10808
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
11025
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10809
11026
|
} | undefined;
|
|
10810
11027
|
} | undefined;
|
|
10811
11028
|
}, {
|
|
@@ -10944,7 +11161,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10944
11161
|
borderColor?: string | undefined;
|
|
10945
11162
|
boxShadow?: string | undefined;
|
|
10946
11163
|
}> | undefined;
|
|
10947
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
11164
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
10948
11165
|
} | undefined;
|
|
10949
11166
|
} | undefined;
|
|
10950
11167
|
dark?: {
|
|
@@ -11082,7 +11299,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11082
11299
|
borderColor?: string | undefined;
|
|
11083
11300
|
boxShadow?: string | undefined;
|
|
11084
11301
|
}> | undefined;
|
|
11085
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
11302
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
11086
11303
|
} | undefined;
|
|
11087
11304
|
} | undefined;
|
|
11088
11305
|
}>>;
|
|
@@ -11309,7 +11526,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11309
11526
|
borderColor?: string | undefined;
|
|
11310
11527
|
boxShadow?: string | undefined;
|
|
11311
11528
|
}> | undefined;
|
|
11312
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
11529
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
11313
11530
|
} | undefined;
|
|
11314
11531
|
} | undefined;
|
|
11315
11532
|
dark?: {
|
|
@@ -11447,7 +11664,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11447
11664
|
borderColor?: string | undefined;
|
|
11448
11665
|
boxShadow?: string | undefined;
|
|
11449
11666
|
}> | undefined;
|
|
11450
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
11667
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
11451
11668
|
} | undefined;
|
|
11452
11669
|
} | undefined;
|
|
11453
11670
|
} | undefined;
|
|
@@ -11674,7 +11891,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11674
11891
|
borderColor?: string | undefined;
|
|
11675
11892
|
boxShadow?: string | undefined;
|
|
11676
11893
|
}> | undefined;
|
|
11677
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
11894
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
11678
11895
|
} | undefined;
|
|
11679
11896
|
} | undefined;
|
|
11680
11897
|
dark?: {
|
|
@@ -11812,7 +12029,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11812
12029
|
borderColor?: string | undefined;
|
|
11813
12030
|
boxShadow?: string | undefined;
|
|
11814
12031
|
}> | undefined;
|
|
11815
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
12032
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
11816
12033
|
} | undefined;
|
|
11817
12034
|
} | undefined;
|
|
11818
12035
|
} | undefined;
|
|
@@ -11871,6 +12088,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11871
12088
|
darkMode: z.ZodOptional<z.ZodString>;
|
|
11872
12089
|
termsTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11873
12090
|
termsContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12091
|
+
selectors: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12092
|
+
name: z.ZodString;
|
|
12093
|
+
namePlural: z.ZodOptional<z.ZodString>;
|
|
12094
|
+
intro: z.ZodOptional<z.ZodString>;
|
|
12095
|
+
placeholder: z.ZodString;
|
|
12096
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
12097
|
+
}, "strip", z.ZodTypeAny, {
|
|
12098
|
+
values: Record<string, string>;
|
|
12099
|
+
name: string;
|
|
12100
|
+
placeholder: string;
|
|
12101
|
+
namePlural?: string | undefined;
|
|
12102
|
+
intro?: string | undefined;
|
|
12103
|
+
}, {
|
|
12104
|
+
values: Record<string, string>;
|
|
12105
|
+
name: string;
|
|
12106
|
+
placeholder: string;
|
|
12107
|
+
namePlural?: string | undefined;
|
|
12108
|
+
intro?: string | undefined;
|
|
12109
|
+
}>>>>;
|
|
12110
|
+
hideSettings: z.ZodOptional<z.ZodString>;
|
|
12111
|
+
showSettings: z.ZodOptional<z.ZodString>;
|
|
12112
|
+
chooseAtLeastOneOption: z.ZodOptional<z.ZodString>;
|
|
12113
|
+
selectAll: z.ZodOptional<z.ZodString>;
|
|
12114
|
+
selectNone: z.ZodOptional<z.ZodString>;
|
|
11874
12115
|
}, "strip", z.ZodTypeAny, {
|
|
11875
12116
|
lightMode?: string | undefined;
|
|
11876
12117
|
darkMode?: string | undefined;
|
|
@@ -11920,6 +12161,18 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11920
12161
|
selectLanguage?: string | undefined;
|
|
11921
12162
|
termsTitle?: string | undefined;
|
|
11922
12163
|
termsContent?: string | undefined;
|
|
12164
|
+
selectors?: Record<string, {
|
|
12165
|
+
values: Record<string, string>;
|
|
12166
|
+
name: string;
|
|
12167
|
+
placeholder: string;
|
|
12168
|
+
namePlural?: string | undefined;
|
|
12169
|
+
intro?: string | undefined;
|
|
12170
|
+
}> | undefined;
|
|
12171
|
+
hideSettings?: string | undefined;
|
|
12172
|
+
showSettings?: string | undefined;
|
|
12173
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
12174
|
+
selectAll?: string | undefined;
|
|
12175
|
+
selectNone?: string | undefined;
|
|
11923
12176
|
}, {
|
|
11924
12177
|
lightMode?: string | undefined;
|
|
11925
12178
|
darkMode?: string | undefined;
|
|
@@ -11969,6 +12222,18 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11969
12222
|
selectLanguage?: string | undefined;
|
|
11970
12223
|
termsTitle?: string | undefined;
|
|
11971
12224
|
termsContent?: string | undefined;
|
|
12225
|
+
selectors?: Record<string, {
|
|
12226
|
+
values: Record<string, string>;
|
|
12227
|
+
name: string;
|
|
12228
|
+
placeholder: string;
|
|
12229
|
+
namePlural?: string | undefined;
|
|
12230
|
+
intro?: string | undefined;
|
|
12231
|
+
}> | undefined;
|
|
12232
|
+
hideSettings?: string | undefined;
|
|
12233
|
+
showSettings?: string | undefined;
|
|
12234
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
12235
|
+
selectAll?: string | undefined;
|
|
12236
|
+
selectNone?: string | undefined;
|
|
11972
12237
|
}>>>;
|
|
11973
12238
|
buttonHref: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11974
12239
|
addQueryToUrlParams: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -11980,6 +12245,32 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
11980
12245
|
"none",
|
|
11981
12246
|
"location"
|
|
11982
12247
|
]>>>;
|
|
12248
|
+
selectorsConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12249
|
+
settingName: z.ZodString;
|
|
12250
|
+
/** Icon name that has to match an SVG definition in the theme */
|
|
12251
|
+
iconName: z.ZodString;
|
|
12252
|
+
settingIntro: z.ZodOptional<z.ZodString>;
|
|
12253
|
+
type: z.ZodEnum<[
|
|
12254
|
+
"single-select",
|
|
12255
|
+
"multi-select"
|
|
12256
|
+
]>;
|
|
12257
|
+
allowEmpty: z.ZodBoolean;
|
|
12258
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
12259
|
+
}, "strip", z.ZodTypeAny, {
|
|
12260
|
+
type: "single-select" | "multi-select";
|
|
12261
|
+
values: string[];
|
|
12262
|
+
settingName: string;
|
|
12263
|
+
iconName: string;
|
|
12264
|
+
allowEmpty: boolean;
|
|
12265
|
+
settingIntro?: string | undefined;
|
|
12266
|
+
}, {
|
|
12267
|
+
type: "single-select" | "multi-select";
|
|
12268
|
+
values: string[];
|
|
12269
|
+
settingName: string;
|
|
12270
|
+
iconName: string;
|
|
12271
|
+
allowEmpty: boolean;
|
|
12272
|
+
settingIntro?: string | undefined;
|
|
12273
|
+
}>, "many">>;
|
|
11983
12274
|
}, "strip", z.ZodTypeAny, {
|
|
11984
12275
|
menu?: Partial<Record<"en" | "de" | "fr" | "it", {
|
|
11985
12276
|
url: string;
|
|
@@ -12009,6 +12300,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12009
12300
|
showContextMenu?: boolean | undefined;
|
|
12010
12301
|
showContextInfo?: boolean | undefined;
|
|
12011
12302
|
showReferencesByDefault?: boolean | undefined;
|
|
12303
|
+
showExpandedSelectors?: boolean | undefined;
|
|
12012
12304
|
allowAudioInput?: boolean | undefined;
|
|
12013
12305
|
blockPII?: boolean | undefined;
|
|
12014
12306
|
questionPrefix?: string | undefined;
|
|
@@ -12237,7 +12529,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12237
12529
|
borderColor?: string | undefined;
|
|
12238
12530
|
boxShadow?: string | undefined;
|
|
12239
12531
|
}> | undefined;
|
|
12240
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
12532
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
12241
12533
|
} | undefined;
|
|
12242
12534
|
} | undefined;
|
|
12243
12535
|
dark?: {
|
|
@@ -12375,7 +12667,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12375
12667
|
borderColor?: string | undefined;
|
|
12376
12668
|
boxShadow?: string | undefined;
|
|
12377
12669
|
}> | undefined;
|
|
12378
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
12670
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
12379
12671
|
} | undefined;
|
|
12380
12672
|
} | undefined;
|
|
12381
12673
|
} | undefined;
|
|
@@ -12429,12 +12721,32 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12429
12721
|
selectLanguage?: string | undefined;
|
|
12430
12722
|
termsTitle?: string | undefined;
|
|
12431
12723
|
termsContent?: string | undefined;
|
|
12724
|
+
selectors?: Record<string, {
|
|
12725
|
+
values: Record<string, string>;
|
|
12726
|
+
name: string;
|
|
12727
|
+
placeholder: string;
|
|
12728
|
+
namePlural?: string | undefined;
|
|
12729
|
+
intro?: string | undefined;
|
|
12730
|
+
}> | undefined;
|
|
12731
|
+
hideSettings?: string | undefined;
|
|
12732
|
+
showSettings?: string | undefined;
|
|
12733
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
12734
|
+
selectAll?: string | undefined;
|
|
12735
|
+
selectNone?: string | undefined;
|
|
12432
12736
|
}>> | undefined;
|
|
12433
12737
|
buttonHref?: string | undefined;
|
|
12434
12738
|
addQueryToUrlParams?: boolean | undefined;
|
|
12435
12739
|
renderKatex?: boolean | undefined;
|
|
12436
12740
|
reflectLanguageInPath?: boolean | undefined;
|
|
12437
12741
|
sendReferrer?: "all" | "own" | "none" | "location" | undefined;
|
|
12742
|
+
selectorsConfig?: {
|
|
12743
|
+
type: "single-select" | "multi-select";
|
|
12744
|
+
values: string[];
|
|
12745
|
+
settingName: string;
|
|
12746
|
+
iconName: string;
|
|
12747
|
+
allowEmpty: boolean;
|
|
12748
|
+
settingIntro?: string | undefined;
|
|
12749
|
+
}[] | undefined;
|
|
12438
12750
|
}, {
|
|
12439
12751
|
menu?: Partial<Record<"en" | "de" | "fr" | "it", {
|
|
12440
12752
|
url: string;
|
|
@@ -12464,6 +12776,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12464
12776
|
showContextMenu?: boolean | undefined;
|
|
12465
12777
|
showContextInfo?: boolean | undefined;
|
|
12466
12778
|
showReferencesByDefault?: boolean | undefined;
|
|
12779
|
+
showExpandedSelectors?: boolean | undefined;
|
|
12467
12780
|
allowAudioInput?: boolean | undefined;
|
|
12468
12781
|
blockPII?: boolean | undefined;
|
|
12469
12782
|
questionPrefix?: string | undefined;
|
|
@@ -12692,7 +13005,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12692
13005
|
borderColor?: string | undefined;
|
|
12693
13006
|
boxShadow?: string | undefined;
|
|
12694
13007
|
}> | undefined;
|
|
12695
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
13008
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
12696
13009
|
} | undefined;
|
|
12697
13010
|
} | undefined;
|
|
12698
13011
|
dark?: {
|
|
@@ -12830,7 +13143,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12830
13143
|
borderColor?: string | undefined;
|
|
12831
13144
|
boxShadow?: string | undefined;
|
|
12832
13145
|
}> | undefined;
|
|
12833
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
13146
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
12834
13147
|
} | undefined;
|
|
12835
13148
|
} | undefined;
|
|
12836
13149
|
} | undefined;
|
|
@@ -12884,12 +13197,32 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
12884
13197
|
selectLanguage?: string | undefined;
|
|
12885
13198
|
termsTitle?: string | undefined;
|
|
12886
13199
|
termsContent?: string | undefined;
|
|
13200
|
+
selectors?: Record<string, {
|
|
13201
|
+
values: Record<string, string>;
|
|
13202
|
+
name: string;
|
|
13203
|
+
placeholder: string;
|
|
13204
|
+
namePlural?: string | undefined;
|
|
13205
|
+
intro?: string | undefined;
|
|
13206
|
+
}> | undefined;
|
|
13207
|
+
hideSettings?: string | undefined;
|
|
13208
|
+
showSettings?: string | undefined;
|
|
13209
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
13210
|
+
selectAll?: string | undefined;
|
|
13211
|
+
selectNone?: string | undefined;
|
|
12887
13212
|
}>> | undefined;
|
|
12888
13213
|
buttonHref?: string | undefined;
|
|
12889
13214
|
addQueryToUrlParams?: boolean | undefined;
|
|
12890
13215
|
renderKatex?: boolean | undefined;
|
|
12891
13216
|
reflectLanguageInPath?: boolean | undefined;
|
|
12892
13217
|
sendReferrer?: "all" | "own" | "none" | "location" | undefined;
|
|
13218
|
+
selectorsConfig?: {
|
|
13219
|
+
type: "single-select" | "multi-select";
|
|
13220
|
+
values: string[];
|
|
13221
|
+
settingName: string;
|
|
13222
|
+
iconName: string;
|
|
13223
|
+
allowEmpty: boolean;
|
|
13224
|
+
settingIntro?: string | undefined;
|
|
13225
|
+
}[] | undefined;
|
|
12893
13226
|
}>;
|
|
12894
13227
|
export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.ZodObject<{
|
|
12895
13228
|
showPredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12898,6 +13231,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12898
13231
|
showContextMenu: z.ZodOptional<z.ZodBoolean>;
|
|
12899
13232
|
showContextInfo: z.ZodOptional<z.ZodBoolean>;
|
|
12900
13233
|
showReferencesByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
13234
|
+
showExpandedSelectors: z.ZodOptional<z.ZodBoolean>;
|
|
12901
13235
|
allowAudioInput: z.ZodOptional<z.ZodBoolean>;
|
|
12902
13236
|
blockPII: z.ZodOptional<z.ZodBoolean>;
|
|
12903
13237
|
questionPrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -14110,6 +14444,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
14110
14444
|
"chevronDown",
|
|
14111
14445
|
"chevronUp",
|
|
14112
14446
|
"chevronTopDown",
|
|
14447
|
+
"chevronDownSmall",
|
|
14113
14448
|
"internalLink",
|
|
14114
14449
|
"externalLink",
|
|
14115
14450
|
"liip",
|
|
@@ -14120,7 +14455,12 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
14120
14455
|
"listUnordered",
|
|
14121
14456
|
"lightMode",
|
|
14122
14457
|
"darkMode",
|
|
14123
|
-
"avatarLarge"
|
|
14458
|
+
"avatarLarge",
|
|
14459
|
+
"settings",
|
|
14460
|
+
"settingsClose",
|
|
14461
|
+
"sources",
|
|
14462
|
+
"model",
|
|
14463
|
+
"checkbox"
|
|
14124
14464
|
]>, z.ZodString>>;
|
|
14125
14465
|
}, "strip", z.ZodTypeAny, {
|
|
14126
14466
|
font?: {
|
|
@@ -14253,7 +14593,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
14253
14593
|
borderColor?: string | undefined;
|
|
14254
14594
|
boxShadow?: string | undefined;
|
|
14255
14595
|
}> | undefined;
|
|
14256
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
14596
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
14257
14597
|
}, {
|
|
14258
14598
|
font?: {
|
|
14259
14599
|
family?: string | undefined;
|
|
@@ -14385,7 +14725,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
14385
14725
|
borderColor?: string | undefined;
|
|
14386
14726
|
boxShadow?: string | undefined;
|
|
14387
14727
|
}> | undefined;
|
|
14388
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
14728
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
14389
14729
|
}>>;
|
|
14390
14730
|
}, "strip", z.ZodTypeAny, {
|
|
14391
14731
|
customCSS?: string | undefined;
|
|
@@ -14522,7 +14862,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
14522
14862
|
borderColor?: string | undefined;
|
|
14523
14863
|
boxShadow?: string | undefined;
|
|
14524
14864
|
}> | undefined;
|
|
14525
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
14865
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
14526
14866
|
} | undefined;
|
|
14527
14867
|
}, {
|
|
14528
14868
|
customCSS?: string | undefined;
|
|
@@ -14659,7 +14999,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
14659
14999
|
borderColor?: string | undefined;
|
|
14660
15000
|
boxShadow?: string | undefined;
|
|
14661
15001
|
}> | undefined;
|
|
14662
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
15002
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
14663
15003
|
} | undefined;
|
|
14664
15004
|
}>>;
|
|
14665
15005
|
dark: z.ZodOptional<z.ZodObject<{
|
|
@@ -15287,6 +15627,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15287
15627
|
"chevronDown",
|
|
15288
15628
|
"chevronUp",
|
|
15289
15629
|
"chevronTopDown",
|
|
15630
|
+
"chevronDownSmall",
|
|
15290
15631
|
"internalLink",
|
|
15291
15632
|
"externalLink",
|
|
15292
15633
|
"liip",
|
|
@@ -15297,7 +15638,12 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15297
15638
|
"listUnordered",
|
|
15298
15639
|
"lightMode",
|
|
15299
15640
|
"darkMode",
|
|
15300
|
-
"avatarLarge"
|
|
15641
|
+
"avatarLarge",
|
|
15642
|
+
"settings",
|
|
15643
|
+
"settingsClose",
|
|
15644
|
+
"sources",
|
|
15645
|
+
"model",
|
|
15646
|
+
"checkbox"
|
|
15301
15647
|
]>, z.ZodString>>;
|
|
15302
15648
|
}, "strip", z.ZodTypeAny, {
|
|
15303
15649
|
font?: {
|
|
@@ -15430,7 +15776,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15430
15776
|
borderColor?: string | undefined;
|
|
15431
15777
|
boxShadow?: string | undefined;
|
|
15432
15778
|
}> | undefined;
|
|
15433
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
15779
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
15434
15780
|
}, {
|
|
15435
15781
|
font?: {
|
|
15436
15782
|
family?: string | undefined;
|
|
@@ -15562,7 +15908,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15562
15908
|
borderColor?: string | undefined;
|
|
15563
15909
|
boxShadow?: string | undefined;
|
|
15564
15910
|
}> | undefined;
|
|
15565
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
15911
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
15566
15912
|
}>>;
|
|
15567
15913
|
}, "strip", z.ZodTypeAny, {
|
|
15568
15914
|
customCSS?: string | undefined;
|
|
@@ -15699,7 +16045,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15699
16045
|
borderColor?: string | undefined;
|
|
15700
16046
|
boxShadow?: string | undefined;
|
|
15701
16047
|
}> | undefined;
|
|
15702
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16048
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
15703
16049
|
} | undefined;
|
|
15704
16050
|
}, {
|
|
15705
16051
|
customCSS?: string | undefined;
|
|
@@ -15836,7 +16182,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15836
16182
|
borderColor?: string | undefined;
|
|
15837
16183
|
boxShadow?: string | undefined;
|
|
15838
16184
|
}> | undefined;
|
|
15839
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16185
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
15840
16186
|
} | undefined;
|
|
15841
16187
|
}>>;
|
|
15842
16188
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15975,7 +16321,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
15975
16321
|
borderColor?: string | undefined;
|
|
15976
16322
|
boxShadow?: string | undefined;
|
|
15977
16323
|
}> | undefined;
|
|
15978
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16324
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
15979
16325
|
} | undefined;
|
|
15980
16326
|
} | undefined;
|
|
15981
16327
|
dark?: {
|
|
@@ -16113,7 +16459,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
16113
16459
|
borderColor?: string | undefined;
|
|
16114
16460
|
boxShadow?: string | undefined;
|
|
16115
16461
|
}> | undefined;
|
|
16116
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16462
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
16117
16463
|
} | undefined;
|
|
16118
16464
|
} | undefined;
|
|
16119
16465
|
}, {
|
|
@@ -16252,7 +16598,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
16252
16598
|
borderColor?: string | undefined;
|
|
16253
16599
|
boxShadow?: string | undefined;
|
|
16254
16600
|
}> | undefined;
|
|
16255
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16601
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
16256
16602
|
} | undefined;
|
|
16257
16603
|
} | undefined;
|
|
16258
16604
|
dark?: {
|
|
@@ -16390,7 +16736,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
16390
16736
|
borderColor?: string | undefined;
|
|
16391
16737
|
boxShadow?: string | undefined;
|
|
16392
16738
|
}> | undefined;
|
|
16393
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16739
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
16394
16740
|
} | undefined;
|
|
16395
16741
|
} | undefined;
|
|
16396
16742
|
}>>;
|
|
@@ -16617,7 +16963,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
16617
16963
|
borderColor?: string | undefined;
|
|
16618
16964
|
boxShadow?: string | undefined;
|
|
16619
16965
|
}> | undefined;
|
|
16620
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
16966
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
16621
16967
|
} | undefined;
|
|
16622
16968
|
} | undefined;
|
|
16623
16969
|
dark?: {
|
|
@@ -16755,7 +17101,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
16755
17101
|
borderColor?: string | undefined;
|
|
16756
17102
|
boxShadow?: string | undefined;
|
|
16757
17103
|
}> | undefined;
|
|
16758
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
17104
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
16759
17105
|
} | undefined;
|
|
16760
17106
|
} | undefined;
|
|
16761
17107
|
} | undefined;
|
|
@@ -16982,7 +17328,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
16982
17328
|
borderColor?: string | undefined;
|
|
16983
17329
|
boxShadow?: string | undefined;
|
|
16984
17330
|
}> | undefined;
|
|
16985
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
17331
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
16986
17332
|
} | undefined;
|
|
16987
17333
|
} | undefined;
|
|
16988
17334
|
dark?: {
|
|
@@ -17120,7 +17466,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17120
17466
|
borderColor?: string | undefined;
|
|
17121
17467
|
boxShadow?: string | undefined;
|
|
17122
17468
|
}> | undefined;
|
|
17123
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
17469
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
17124
17470
|
} | undefined;
|
|
17125
17471
|
} | undefined;
|
|
17126
17472
|
} | undefined;
|
|
@@ -17179,6 +17525,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17179
17525
|
darkMode: z.ZodOptional<z.ZodString>;
|
|
17180
17526
|
termsTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17181
17527
|
termsContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17528
|
+
selectors: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17529
|
+
name: z.ZodString;
|
|
17530
|
+
namePlural: z.ZodOptional<z.ZodString>;
|
|
17531
|
+
intro: z.ZodOptional<z.ZodString>;
|
|
17532
|
+
placeholder: z.ZodString;
|
|
17533
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
17534
|
+
}, "strip", z.ZodTypeAny, {
|
|
17535
|
+
values: Record<string, string>;
|
|
17536
|
+
name: string;
|
|
17537
|
+
placeholder: string;
|
|
17538
|
+
namePlural?: string | undefined;
|
|
17539
|
+
intro?: string | undefined;
|
|
17540
|
+
}, {
|
|
17541
|
+
values: Record<string, string>;
|
|
17542
|
+
name: string;
|
|
17543
|
+
placeholder: string;
|
|
17544
|
+
namePlural?: string | undefined;
|
|
17545
|
+
intro?: string | undefined;
|
|
17546
|
+
}>>>>;
|
|
17547
|
+
hideSettings: z.ZodOptional<z.ZodString>;
|
|
17548
|
+
showSettings: z.ZodOptional<z.ZodString>;
|
|
17549
|
+
chooseAtLeastOneOption: z.ZodOptional<z.ZodString>;
|
|
17550
|
+
selectAll: z.ZodOptional<z.ZodString>;
|
|
17551
|
+
selectNone: z.ZodOptional<z.ZodString>;
|
|
17182
17552
|
}, "strip", z.ZodTypeAny, {
|
|
17183
17553
|
lightMode?: string | undefined;
|
|
17184
17554
|
darkMode?: string | undefined;
|
|
@@ -17228,6 +17598,18 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17228
17598
|
selectLanguage?: string | undefined;
|
|
17229
17599
|
termsTitle?: string | undefined;
|
|
17230
17600
|
termsContent?: string | undefined;
|
|
17601
|
+
selectors?: Record<string, {
|
|
17602
|
+
values: Record<string, string>;
|
|
17603
|
+
name: string;
|
|
17604
|
+
placeholder: string;
|
|
17605
|
+
namePlural?: string | undefined;
|
|
17606
|
+
intro?: string | undefined;
|
|
17607
|
+
}> | undefined;
|
|
17608
|
+
hideSettings?: string | undefined;
|
|
17609
|
+
showSettings?: string | undefined;
|
|
17610
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
17611
|
+
selectAll?: string | undefined;
|
|
17612
|
+
selectNone?: string | undefined;
|
|
17231
17613
|
}, {
|
|
17232
17614
|
lightMode?: string | undefined;
|
|
17233
17615
|
darkMode?: string | undefined;
|
|
@@ -17277,6 +17659,18 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17277
17659
|
selectLanguage?: string | undefined;
|
|
17278
17660
|
termsTitle?: string | undefined;
|
|
17279
17661
|
termsContent?: string | undefined;
|
|
17662
|
+
selectors?: Record<string, {
|
|
17663
|
+
values: Record<string, string>;
|
|
17664
|
+
name: string;
|
|
17665
|
+
placeholder: string;
|
|
17666
|
+
namePlural?: string | undefined;
|
|
17667
|
+
intro?: string | undefined;
|
|
17668
|
+
}> | undefined;
|
|
17669
|
+
hideSettings?: string | undefined;
|
|
17670
|
+
showSettings?: string | undefined;
|
|
17671
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
17672
|
+
selectAll?: string | undefined;
|
|
17673
|
+
selectNone?: string | undefined;
|
|
17280
17674
|
}>>>;
|
|
17281
17675
|
buttonHref: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17282
17676
|
addQueryToUrlParams: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -17288,6 +17682,32 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17288
17682
|
"none",
|
|
17289
17683
|
"location"
|
|
17290
17684
|
]>>>;
|
|
17685
|
+
selectorsConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17686
|
+
settingName: z.ZodString;
|
|
17687
|
+
/** Icon name that has to match an SVG definition in the theme */
|
|
17688
|
+
iconName: z.ZodString;
|
|
17689
|
+
settingIntro: z.ZodOptional<z.ZodString>;
|
|
17690
|
+
type: z.ZodEnum<[
|
|
17691
|
+
"single-select",
|
|
17692
|
+
"multi-select"
|
|
17693
|
+
]>;
|
|
17694
|
+
allowEmpty: z.ZodBoolean;
|
|
17695
|
+
values: z.ZodArray<z.ZodString, "many">;
|
|
17696
|
+
}, "strip", z.ZodTypeAny, {
|
|
17697
|
+
type: "single-select" | "multi-select";
|
|
17698
|
+
values: string[];
|
|
17699
|
+
settingName: string;
|
|
17700
|
+
iconName: string;
|
|
17701
|
+
allowEmpty: boolean;
|
|
17702
|
+
settingIntro?: string | undefined;
|
|
17703
|
+
}, {
|
|
17704
|
+
type: "single-select" | "multi-select";
|
|
17705
|
+
values: string[];
|
|
17706
|
+
settingName: string;
|
|
17707
|
+
iconName: string;
|
|
17708
|
+
allowEmpty: boolean;
|
|
17709
|
+
settingIntro?: string | undefined;
|
|
17710
|
+
}>, "many">>;
|
|
17291
17711
|
}, "strip", z.ZodTypeAny, {
|
|
17292
17712
|
menu?: Partial<Record<"en" | "de" | "fr" | "it", {
|
|
17293
17713
|
url: string;
|
|
@@ -17317,6 +17737,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17317
17737
|
showContextMenu?: boolean | undefined;
|
|
17318
17738
|
showContextInfo?: boolean | undefined;
|
|
17319
17739
|
showReferencesByDefault?: boolean | undefined;
|
|
17740
|
+
showExpandedSelectors?: boolean | undefined;
|
|
17320
17741
|
allowAudioInput?: boolean | undefined;
|
|
17321
17742
|
blockPII?: boolean | undefined;
|
|
17322
17743
|
questionPrefix?: string | undefined;
|
|
@@ -17545,7 +17966,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17545
17966
|
borderColor?: string | undefined;
|
|
17546
17967
|
boxShadow?: string | undefined;
|
|
17547
17968
|
}> | undefined;
|
|
17548
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
17969
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
17549
17970
|
} | undefined;
|
|
17550
17971
|
} | undefined;
|
|
17551
17972
|
dark?: {
|
|
@@ -17683,7 +18104,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17683
18104
|
borderColor?: string | undefined;
|
|
17684
18105
|
boxShadow?: string | undefined;
|
|
17685
18106
|
}> | undefined;
|
|
17686
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
18107
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
17687
18108
|
} | undefined;
|
|
17688
18109
|
} | undefined;
|
|
17689
18110
|
} | undefined;
|
|
@@ -17737,12 +18158,32 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17737
18158
|
selectLanguage?: string | undefined;
|
|
17738
18159
|
termsTitle?: string | undefined;
|
|
17739
18160
|
termsContent?: string | undefined;
|
|
18161
|
+
selectors?: Record<string, {
|
|
18162
|
+
values: Record<string, string>;
|
|
18163
|
+
name: string;
|
|
18164
|
+
placeholder: string;
|
|
18165
|
+
namePlural?: string | undefined;
|
|
18166
|
+
intro?: string | undefined;
|
|
18167
|
+
}> | undefined;
|
|
18168
|
+
hideSettings?: string | undefined;
|
|
18169
|
+
showSettings?: string | undefined;
|
|
18170
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
18171
|
+
selectAll?: string | undefined;
|
|
18172
|
+
selectNone?: string | undefined;
|
|
17740
18173
|
}>> | undefined;
|
|
17741
18174
|
buttonHref?: string | undefined;
|
|
17742
18175
|
addQueryToUrlParams?: boolean | undefined;
|
|
17743
18176
|
renderKatex?: boolean | undefined;
|
|
17744
18177
|
reflectLanguageInPath?: boolean | undefined;
|
|
17745
18178
|
sendReferrer?: "all" | "own" | "none" | "location" | undefined;
|
|
18179
|
+
selectorsConfig?: {
|
|
18180
|
+
type: "single-select" | "multi-select";
|
|
18181
|
+
values: string[];
|
|
18182
|
+
settingName: string;
|
|
18183
|
+
iconName: string;
|
|
18184
|
+
allowEmpty: boolean;
|
|
18185
|
+
settingIntro?: string | undefined;
|
|
18186
|
+
}[] | undefined;
|
|
17746
18187
|
}, {
|
|
17747
18188
|
menu?: Partial<Record<"en" | "de" | "fr" | "it", {
|
|
17748
18189
|
url: string;
|
|
@@ -17772,6 +18213,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
17772
18213
|
showContextMenu?: boolean | undefined;
|
|
17773
18214
|
showContextInfo?: boolean | undefined;
|
|
17774
18215
|
showReferencesByDefault?: boolean | undefined;
|
|
18216
|
+
showExpandedSelectors?: boolean | undefined;
|
|
17775
18217
|
allowAudioInput?: boolean | undefined;
|
|
17776
18218
|
blockPII?: boolean | undefined;
|
|
17777
18219
|
questionPrefix?: string | undefined;
|
|
@@ -18000,7 +18442,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
18000
18442
|
borderColor?: string | undefined;
|
|
18001
18443
|
boxShadow?: string | undefined;
|
|
18002
18444
|
}> | undefined;
|
|
18003
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
18445
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
18004
18446
|
} | undefined;
|
|
18005
18447
|
} | undefined;
|
|
18006
18448
|
dark?: {
|
|
@@ -18138,7 +18580,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
18138
18580
|
borderColor?: string | undefined;
|
|
18139
18581
|
boxShadow?: string | undefined;
|
|
18140
18582
|
}> | undefined;
|
|
18141
|
-
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode", string>> | undefined;
|
|
18583
|
+
svgs?: Partial<Record<"retry" | "thread" | "message" | "predefinedQuestion" | "edit" | "newConversation" | "voteUp" | "voteDown" | "messageLoading" | "submit" | "abort" | "expand" | "help" | "attach" | "record" | "reward" | "share" | "audio" | "copy" | "dismiss" | "menu" | "info" | "menuClose" | "chevronDown" | "chevronUp" | "chevronTopDown" | "chevronDownSmall" | "internalLink" | "externalLink" | "liip" | "avatar" | "avatarLarge" | "openChat" | "speechInput" | "listUnordered" | "lightMode" | "darkMode" | "settings" | "settingsClose" | "sources" | "model" | "checkbox", string>> | undefined;
|
|
18142
18584
|
} | undefined;
|
|
18143
18585
|
} | undefined;
|
|
18144
18586
|
} | undefined;
|
|
@@ -18192,12 +18634,32 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
18192
18634
|
selectLanguage?: string | undefined;
|
|
18193
18635
|
termsTitle?: string | undefined;
|
|
18194
18636
|
termsContent?: string | undefined;
|
|
18637
|
+
selectors?: Record<string, {
|
|
18638
|
+
values: Record<string, string>;
|
|
18639
|
+
name: string;
|
|
18640
|
+
placeholder: string;
|
|
18641
|
+
namePlural?: string | undefined;
|
|
18642
|
+
intro?: string | undefined;
|
|
18643
|
+
}> | undefined;
|
|
18644
|
+
hideSettings?: string | undefined;
|
|
18645
|
+
showSettings?: string | undefined;
|
|
18646
|
+
chooseAtLeastOneOption?: string | undefined;
|
|
18647
|
+
selectAll?: string | undefined;
|
|
18648
|
+
selectNone?: string | undefined;
|
|
18195
18649
|
}>> | undefined;
|
|
18196
18650
|
buttonHref?: string | undefined;
|
|
18197
18651
|
addQueryToUrlParams?: boolean | undefined;
|
|
18198
18652
|
renderKatex?: boolean | undefined;
|
|
18199
18653
|
reflectLanguageInPath?: boolean | undefined;
|
|
18200
18654
|
sendReferrer?: "all" | "own" | "none" | "location" | undefined;
|
|
18655
|
+
selectorsConfig?: {
|
|
18656
|
+
type: "single-select" | "multi-select";
|
|
18657
|
+
values: string[];
|
|
18658
|
+
settingName: string;
|
|
18659
|
+
iconName: string;
|
|
18660
|
+
allowEmpty: boolean;
|
|
18661
|
+
settingIntro?: string | undefined;
|
|
18662
|
+
}[] | undefined;
|
|
18201
18663
|
}>, z.ZodObject<{
|
|
18202
18664
|
theme: z.ZodOptional<z.ZodObject<{
|
|
18203
18665
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -18223,6 +18685,7 @@ export type PredefinedQuestionsResponse = z.infer<typeof predefinedQuestionsResp
|
|
|
18223
18685
|
export type UserDataResponse = z.infer<typeof userDataResponseSchema>;
|
|
18224
18686
|
export type FullTranslations = z.infer<typeof fullTranslations>;
|
|
18225
18687
|
export type CompleteChatConfig = z.infer<typeof completeChatConfigSchema>;
|
|
18688
|
+
export type SelectorConfig = z.infer<typeof chatSettingConfigSchema>;
|
|
18226
18689
|
export type ChatConfig = z.infer<typeof chatConfigSchema>;
|
|
18227
18690
|
/**
|
|
18228
18691
|
Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
|
|
@@ -18302,11 +18765,11 @@ export type PredefinedQuestionsParams = {
|
|
|
18302
18765
|
language: string;
|
|
18303
18766
|
};
|
|
18304
18767
|
export type ChatOptions = {
|
|
18305
|
-
model?: string;
|
|
18306
18768
|
lang?: string;
|
|
18307
18769
|
features?: string[];
|
|
18308
18770
|
version?: string;
|
|
18309
18771
|
referrer?: string;
|
|
18772
|
+
selectorValues?: Record<string, string | string[]>;
|
|
18310
18773
|
onError?: OnError;
|
|
18311
18774
|
onMessage?: (message: SseMessageV2) => void;
|
|
18312
18775
|
};
|