UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

27 lines (21 loc) 708 B
import { ModelProvider } from '@/libs/model-runtime'; import { genUserLLMConfig } from '@/utils/genUserLLMConfig'; export const DEFAULT_LLM_CONFIG = genUserLLMConfig({ lmstudio: { fetchOnClient: true, }, ollama: { enabled: true, fetchOnClient: true, }, openai: { enabled: true, }, }); export const DEFAULT_MODEL = 'gpt-4.1-mini'; export const DEFAULT_EMBEDDING_MODEL = 'text-embedding-3-small'; export const DEFAULT_EMBEDDING_PROVIDER = ModelProvider.OpenAI; export const DEFAULT_RERANK_MODEL = 'rerank-english-v3.0'; export const DEFAULT_RERANK_PROVIDER = 'cohere'; export const DEFAULT_RERANK_QUERY_MODE = 'full_text'; export const DEFAULT_PROVIDER = ModelProvider.OpenAI;