chatbot-template/lib/ai/models.ts

26 lines
550 B
TypeScript
Raw Normal View History

export const DEFAULT_CHAT_MODEL: string = 'chat-model-small';
interface ChatModel {
2024-10-30 16:01:24 +05:30
id: string;
name: string;
2024-10-30 16:01:24 +05:30
description: string;
}
export const chatModels: Array<ChatModel> = [
2024-10-30 16:01:24 +05:30
{
id: 'chat-model-small',
name: 'Small model',
2024-10-30 16:01:24 +05:30
description: 'Small model for fast, lightweight tasks',
},
{
id: 'chat-model-large',
name: 'Large model',
description: 'Large model for complex, multi-step tasks',
2024-10-30 16:01:24 +05:30
},
{
id: 'chat-model-reasoning',
name: 'Reasoning model',
description: 'Uses advanced reasoning',
},
];