configmap

This commit is contained in:
archer
2023-07-20 09:46:13 +08:00
parent c46a37541c
commit 62ee28b130
14 changed files with 147 additions and 257 deletions

View File

@@ -1,26 +0,0 @@
{
"FastAI-4k": {
"model": "gpt-3.5-turbo",
"name": "FastAI-4k",
"contextMaxToken": 4000,
"systemMaxToken": 2400,
"maxTemperature": 1.2,
"price": 1.5
},
"FastAI-16k": {
"model": "gpt-3.5-turbo-16k",
"name": "FastAI-16k",
"contextMaxToken": 16000,
"systemMaxToken": 8000,
"maxTemperature": 1.2,
"price": 3
},
"FastAI-Plus": {
"model": "gpt-4",
"name": "FastAI-Plus",
"contextMaxToken": 8000,
"systemMaxToken": 4000,
"maxTemperature": 1.2,
"price": 45
}
}

View File

@@ -1,9 +0,0 @@
{
"show_emptyChat": true,
"show_register": true,
"show_appStore": true,
"show_userDetail": true,
"show_git": true,
"systemTitle": "FastAI",
"authorText": "Made by FastAI Team."
}

View File

@@ -1,8 +0,0 @@
{
"FastAI-16k": {
"model": "gpt-3.5-turbo-16k",
"name": "FastAI-16k",
"maxToken": 16000,
"price": 3
}
}

View File

@@ -1,6 +0,0 @@
{
"vectorMaxProcess": 15,
"qaMaxProcess": 15,
"pgIvfflatProbe": 20,
"sensitiveCheck": false
}

View File

@@ -1,7 +0,0 @@
{
"text-embedding-ada-002": {
"model": "text-embedding-ada-002",
"name": "Embedding-2",
"price": 0.2
}
}

61
client/data/config.json Normal file
View File

@@ -0,0 +1,61 @@
{
"FeConfig": {
"show_emptyChat": true,
"show_register": true,
"show_appStore": true,
"show_userDetail": true,
"show_git": true,
"systemTitle": "FastAI",
"authorText": "Made by FastAI Team."
},
"SystemParams": {
"beianText": "",
"googleVerKey": "",
"baiduTongji": "",
"vectorMaxProcess": 15,
"qaMaxProcess": 15,
"pgIvfflatProbe": 20,
"sensitiveCheck": false
},
"ChatModels": [
{
"model": "gpt-3.5-turbo",
"name": "FastAI-4k",
"contextMaxToken": 4000,
"systemMaxToken": 2400,
"maxTemperature": 1.2,
"price": 1.5
},
{
"model": "gpt-3.5-turbo-16k",
"name": "FastAI-16k",
"contextMaxToken": 16000,
"systemMaxToken": 8000,
"maxTemperature": 1.2,
"price": 3
},
{
"model": "gpt-4",
"name": "FastAI-Plus",
"contextMaxToken": 8000,
"systemMaxToken": 4000,
"maxTemperature": 1.2,
"price": 45
}
],
"QAModels": [
{
"model": "gpt-3.5-turbo-16k",
"name": "FastAI-16k",
"maxToken": 16000,
"price": 3
}
],
"VectorModels": [
{
"model": "text-embedding-ada-002",
"name": "Embedding-2",
"price": 0.2
}
]
}