This commit is contained in:
archer
2023-07-17 20:17:50 +08:00
parent dc1599ba3c
commit 44e360b61b
13 changed files with 76 additions and 52 deletions

View File

@@ -81,15 +81,15 @@ export const appTemplates: (AppItemType & { avatar: string; intro: string })[] =
value: 'gpt-3.5-turbo-16k',
list: [
{
label: 'Gpt35-4k',
label: 'FastAI-4k',
value: 'gpt-3.5-turbo'
},
{
label: 'Gpt35-16k',
label: 'FastAI-16k',
value: 'gpt-3.5-turbo-16k'
},
{
label: 'Gpt4',
label: 'FastAI-Plus',
value: 'gpt-4'
}
],
@@ -344,15 +344,15 @@ export const appTemplates: (AppItemType & { avatar: string; intro: string })[] =
value: 'gpt-3.5-turbo-16k',
list: [
{
label: 'Gpt35-4k',
label: 'FastAI-4k',
value: 'gpt-3.5-turbo'
},
{
label: 'Gpt35-16k',
label: 'FastAI-16k',
value: 'gpt-3.5-turbo-16k'
},
{
label: 'Gpt4',
label: 'FastAI-Plus',
value: 'gpt-4'
}
],
@@ -652,15 +652,15 @@ export const appTemplates: (AppItemType & { avatar: string; intro: string })[] =
value: 'gpt-3.5-turbo-16k',
list: [
{
label: 'Gpt35-4k',
label: 'FastAI-4k',
value: 'gpt-3.5-turbo'
},
{
label: 'Gpt35-16k',
label: 'FastAI-16k',
value: 'gpt-3.5-turbo-16k'
},
{
label: 'Gpt4',
label: 'FastAI-Plus',
value: 'gpt-4'
}
],
@@ -979,15 +979,15 @@ export const appTemplates: (AppItemType & { avatar: string; intro: string })[] =
value: 'gpt-3.5-turbo',
list: [
{
label: 'Gpt35-16k',
label: 'FastAI-16k',
value: 'gpt-3.5-turbo-16k'
},
{
label: 'Gpt35-4k',
label: 'FastAI-4k',
value: 'gpt-3.5-turbo'
},
{
label: 'Gpt4-8k',
label: 'FastAI-Plus-8k',
value: 'gpt-4'
}
],

View File

@@ -249,7 +249,7 @@ export const AnswerModule: AppModuleTemplateItemType = {
{
key: SpecificInputEnum.answerText,
value: '',
type: FlowInputItemTypeEnum.input,
type: FlowInputItemTypeEnum.textarea,
label: '回复的内容'
}
],

View File

@@ -4,8 +4,8 @@ import type { AppSchema } from '@/types/mongoSchema';
export enum OpenAiChatEnum {
'GPT35' = 'gpt-3.5-turbo',
'GPT3516k' = 'gpt-3.5-turbo-16k',
'GPT4' = 'gpt-4',
'GPT432k' = 'gpt-4-32k'
'FastAI-Plus' = 'gpt-4',
'FastAI-Plus32k' = 'gpt-4-32k'
}
export const defaultApp: AppSchema = {