mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 01:54:04 +00:00
gpt4low gg
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
| 知识库 - 索引 | 0.001 |
|
| 知识库 - 索引 | 0.001 |
|
||||||
| chatgpt - 对话 | 0.015 |
|
| chatgpt - 对话 | 0.015 |
|
||||||
| chatgpt16K - 对话 | 0.03 |
|
| chatgpt16K - 对话 | 0.03 |
|
||||||
| 窝牛 GPT4 不稳定 - 对话 | 0.015 |
|
|
||||||
| gpt4 - 对话 | 0.45 |
|
| gpt4 - 对话 | 0.45 |
|
||||||
| 文件拆分 | 0.03 |
|
| 文件拆分 | 0.03 |
|
||||||
|
|
||||||
|
@@ -9,8 +9,7 @@ export enum OpenAiChatEnum {
|
|||||||
'GPT35' = 'gpt-3.5-turbo',
|
'GPT35' = 'gpt-3.5-turbo',
|
||||||
'GPT3516k' = 'gpt-3.5-turbo-16k',
|
'GPT3516k' = 'gpt-3.5-turbo-16k',
|
||||||
'GPT4' = 'gpt-4',
|
'GPT4' = 'gpt-4',
|
||||||
'GPT432k' = 'gpt-4-32k',
|
'GPT432k' = 'gpt-4-32k'
|
||||||
'GPT4LOW' = 'gpt-4-0314'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ChatModelType = `${OpenAiChatEnum}`;
|
export type ChatModelType = `${OpenAiChatEnum}`;
|
||||||
@@ -25,14 +24,6 @@ export type ChatModelItemType = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const ChatModelMap = {
|
export const ChatModelMap = {
|
||||||
[OpenAiChatEnum.GPT4LOW]: {
|
|
||||||
chatModel: OpenAiChatEnum.GPT4LOW,
|
|
||||||
name: '窝牛Gpt4不稳定',
|
|
||||||
contextMaxToken: 4000,
|
|
||||||
systemMaxToken: 2400,
|
|
||||||
maxTemperature: 1.2,
|
|
||||||
price: 1.5
|
|
||||||
},
|
|
||||||
[OpenAiChatEnum.GPT35]: {
|
[OpenAiChatEnum.GPT35]: {
|
||||||
chatModel: OpenAiChatEnum.GPT35,
|
chatModel: OpenAiChatEnum.GPT35,
|
||||||
name: 'Gpt35-4k',
|
name: 'Gpt35-4k',
|
||||||
@@ -70,7 +61,6 @@ export const ChatModelMap = {
|
|||||||
export const chatModelList: ChatModelItemType[] = [
|
export const chatModelList: ChatModelItemType[] = [
|
||||||
ChatModelMap[OpenAiChatEnum.GPT3516k],
|
ChatModelMap[OpenAiChatEnum.GPT3516k],
|
||||||
ChatModelMap[OpenAiChatEnum.GPT35],
|
ChatModelMap[OpenAiChatEnum.GPT35],
|
||||||
ChatModelMap[OpenAiChatEnum.GPT4LOW],
|
|
||||||
ChatModelMap[OpenAiChatEnum.GPT4]
|
ChatModelMap[OpenAiChatEnum.GPT4]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -9,7 +9,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
|
|
||||||
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT3516k]);
|
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT3516k]);
|
||||||
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT35]);
|
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT35]);
|
||||||
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT4LOW]);
|
|
||||||
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT4]);
|
chatModelList.push(ChatModelMap[OpenAiChatEnum.GPT4]);
|
||||||
|
|
||||||
jsonRes(res, {
|
jsonRes(res, {
|
||||||
|
Reference in New Issue
Block a user