chat model config (#158)

* chat model config

* fix: i18n next
This commit is contained in:
Archer
2023-08-09 11:08:39 +08:00
committed by GitHub
parent da4b14fbf8
commit b6f9f77ed4
12 changed files with 269 additions and 270 deletions

View File

@@ -21,13 +21,17 @@ const nextConfig = {
asyncWebAssembly: true,
layers: true
};
config.module.rules = config.module.rules.concat([
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack']
}
]);
config.module = {
...config.module,
rules: config.module.rules.concat([
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack']
}
]),
exprContextCritical: false
};
return config;
}

View File

@@ -261,7 +261,8 @@ export const KBSearchModule: FlowModuleTemplateType = {
{
key: 'quoteQA',
label: '引用内容',
description: '搜索结果为空时不返回',
description:
'始终返回数组,如果希望搜索结果为空时执行额外操作,需要用到上面的两个输入以及目标模块的触发器',
type: FlowOutputItemTypeEnum.source,
valueType: FlowValueTypeEnum.kbQuote,
targets: []
@@ -916,7 +917,8 @@ export const appTemplates: (AppItemType & { avatar: string; intro: string })[] =
{
key: 'quoteQA',
label: '引用内容',
description: '搜索结果为空时不返回',
description:
'始终返回数组,如果希望搜索结果为空时执行额外操作,需要用到上面的两个输入以及目标模块的触发器',
type: 'source',
valueType: 'kb_quote',
targets: [
@@ -1892,7 +1894,8 @@ export const appTemplates: (AppItemType & { avatar: string; intro: string })[] =
{
key: 'quoteQA',
label: '引用内容',
description: '搜索结果为空时不返回',
description:
'始终返回数组,如果希望搜索结果为空时执行额外操作,需要用到上面的两个输入以及目标模块的触发器',
type: 'source',
valueType: 'kb_quote',
targets: [