RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
feat: replace models of novita (#7360)
Neal Davis23dcbc94ef1f
diff --git a/conf/llm_factories.json b/conf/llm_factories.jsonindex 4ec74af92d..3ea0feb3a7 100644--- a/conf/llm_factories.json+++ b/conf/llm_factories.json@@ -2203,58 +2203,21 @@]},{- "name": "novita.ai",+ "name": "NovitaAI","logo": "",- "tags": "LLM,IMAGE2TEXT",+ "tags": "LLM,TEXT EMBEDDING","status": "1","llm": [{- "llm_name": "deepseek/deepseek-r1",- "tags": "LLM,CHAT,64k",- "max_tokens": 64000,- "model_type": "chat"- },- {- "llm_name": "deepseek/deepseek_v3",- "tags": "LLM,CHAT,64k",- "max_tokens": 64000,- "model_type": "chat"- },- {- "llm_name": "deepseek/deepseek-r1-distill-llama-70b",- "tags": "LLM,CHAT,64k",- "max_tokens": 64000,- "model_type": "chat"- },- {- "llm_name": "deepseek/deepseek-r1-distill-qwen-32b",- "tags": "LLM,CHAT,64k",- "max_tokens": 64000,- "model_type": "chat"- },- {- "llm_name": "deepseek/deepseek-r1-distill-qwen-14b",- "tags": "LLM,CHAT,64k",- "max_tokens": 64000,- "model_type": "chat"- },- {- "llm_name": "deepseek/deepseek-r1-distill-llama-8b",+ "llm_name": "qwen/qwen2.5-7b-instruct","tags": "LLM,CHAT,32k","max_tokens": 32000,"model_type": "chat"},{- "llm_name": "meta-llama/llama-3.3-70b-instruct",- "tags": "LLM,CHAT,128k",- "max_tokens": 131072,- "model_type": "chat",- "is_tools": true- },- {- "llm_name": "meta-llama/llama-3.2-11b-vision-instruct",- "tags": "LLM,CHAT,32k",- "max_tokens": 32768,+ "llm_name": "meta-llama/llama-3.2-1b-instruct",+ "tags": "LLM,CHAT,131k",+ "max_tokens": 131000,"model_type": "chat"},{@@ -2264,24 +2227,16 @@"model_type": "chat"},{- "llm_name": "meta-llama/llama-3.2-1b-instruct",+ "llm_name": "thudm/glm-4-9b-0414","tags": "LLM,CHAT,32k",- "max_tokens": 32768,+ "max_tokens": 32000,"model_type": "chat"},{- "llm_name": "meta-llama/llama-3.1-70b-instruct",+ "llm_name": "thudm/glm-z1-9b-0414","tags": "LLM,CHAT,32k",- "max_tokens": 32768,- "model_type": "chat",- "is_tools": true- },- {- "llm_name": "meta-llama/llama-3.1-8b-instruct",- "tags": "LLM,CHAT,16k",- "max_tokens": 16384,- "model_type": "chat",- "is_tools": true+ "max_tokens": 32000,+ "model_type": "chat"},{"llm_name": "meta-llama/llama-3.1-8b-instruct-bf16",@@ -2291,48 +2246,22 @@"is_tools": true},{- "llm_name": "meta-llama/llama-3-70b-instruct",- "tags": "LLM,CHAT,8k",- "max_tokens": 8192,- "model_type": "chat",- "is_tools": true- },- {- "llm_name": "meta-llama/llama-3-8b-instruct",- "tags": "LLM,CHAT,8k",- "max_tokens": 8192,- "model_type": "chat",- "is_tools": true- },- {- "llm_name": "qwen/qwen-2.5-72b-instruct",- "tags": "LLM,CHAT,32k",- "max_tokens": 32000,+ "llm_name": "meta-llama/llama-3.1-8b-instruct",+ "tags": "LLM,CHAT,16k",+ "max_tokens": 16384,"model_type": "chat","is_tools": true},{- "llm_name": "qwen/qwen-2-vl-72b-instruct",- "tags": "LLM,IMAGE2TEXT,32k",- "max_tokens": 32768,- "model_type": "image2text"- },- {- "llm_name": "qwen/qwen-2-7b-instruct",- "tags": "LLM,CHAT,32k",- "max_tokens": 32768,- "model_type": "chat"- },- {- "llm_name": "mistralai/mistral-nemo",+ "llm_name": "deepseek/deepseek-v3-0324","tags": "LLM,CHAT,128k",- "max_tokens": 131072,+ "max_tokens": 128000,"model_type": "chat"},{- "llm_name": "mistralai/mistral-7b-instruct",- "tags": "LLM,CHAT,32k",- "max_tokens": 32768,+ "llm_name": "deepseek/deepseek-r1-turbo",+ "tags": "LLM,CHAT,64k",+ "max_tokens": 64000,"model_type": "chat"},{@@ -2342,82 +2271,61 @@"model_type": "chat"},{- "llm_name": "sao10k/l3-70b-euryale-v2.1",- "tags": "LLM,CHAT,8k",- "max_tokens": 8192,- "model_type": "chat"+ "llm_name": "meta-llama/llama-3.3-70b-instruct",+ "tags": "LLM,CHAT,128k",+ "max_tokens": 131072,+ "model_type": "chat",+ "is_tools": true},{- "llm_name": "sao10k/l3-8b-lunaris",- "tags": "LLM,CHAT,8k",- "max_tokens": 8192,+ "llm_name": "deepseek/deepseek-r1-distill-llama-8b",+ "tags": "LLM,CHAT,32k",+ "max_tokens": 32000,"model_type": "chat"},{- "llm_name": "sao10k/l31-70b-euryale-v2.2",- "tags": "LLM,CHAT,8k",- "max_tokens": 8192,+ "llm_name": "mistralai/mistral-nemo",+ "tags": "LLM,CHAT,128k",+ "max_tokens": 131072,"model_type": "chat"},{- "llm_name": "nousresearch/hermes-2-pro-llama-3-8b",+ "llm_name": "meta-llama/llama-3-8b-instruct","tags": "LLM,CHAT,8k","max_tokens": 8192,- "model_type": "chat"+ "model_type": "chat",+ "is_tools": true},{- "llm_name": "nousresearch/nous-hermes-llama2-13b",- "tags": "LLM,CHAT,4k",- "max_tokens": 4096,- "model_type": "chat"+ "llm_name": "deepseek/deepseek-v3-turbo",+ "tags": "LLM,CHAT,64k",+ "max_tokens": 64000,+ "model_type": "chat",+ "is_tools": true},{- "llm_name": "openchat/openchat-7b",- "tags": "LLM,CHAT,4k",- "max_tokens": 4096,+ "llm_name": "mistralai/mistral-7b-instruct",+ "tags": "LLM,CHAT,32k",+ "max_tokens": 32768,"model_type": "chat"},{- "llm_name": "gryphe/mythomax-l2-13b",- "tags": "LLM,CHAT,4k",- "max_tokens": 4096,+ "llm_name": "deepseek/deepseek-r1",+ "tags": "LLM,CHAT,64k",+ "max_tokens": 64000,"model_type": "chat"},{- "llm_name": "microsoft/wizardlm-2-8x22b",- "tags": "LLM,CHAT,65k",- "max_tokens": 65535,+ "llm_name": "deepseek/deepseek-r1-distill-qwen-14b",+ "tags": "LLM,CHAT,64k",+ "max_tokens": 64000,"model_type": "chat"},{- "llm_name": "google/gemma-2-9b-it",- "tags": "LLM,CHAT,8k",+ "llm_name": "baai/bge-m3",+ "tags": "TEXT EMBEDDING,8K","max_tokens": 8192,- "model_type": "chat"- },- {- "llm_name": "cognitivecomputations/dolphin-mixtral-8x22b",- "tags": "LLM,CHAT,16k",- "max_tokens": 16000,- "model_type": "chat"- },- {- "llm_name": "jondurbin/airoboros-l2-70b",- "tags": "LLM,CHAT,4k",- "max_tokens": 4096,- "model_type": "chat"- },- {- "llm_name": "teknium/openhermes-2.5-mistral-7b",- "tags": "LLM,CHAT,4k",- "max_tokens": 4096,- "model_type": "chat"- },- {- "llm_name": "sophosympatheia/midnight-rose-70b",- "tags": "LLM,CHAT,4k",- "max_tokens": 4096,- "model_type": "chat"+ "model_type": "embedding"}]},diff --git a/docs/references/supported_models.mdx b/docs/references/supported_models.mdxindex 202db83924..04aa6ce043 100644--- a/docs/references/supported_models.mdx+++ b/docs/references/supported_models.mdx@@ -37,7 +37,7 @@ A complete list of models supported by RAGFlow, which will continue to expand.| Mistral | :heavy_check_mark: | :heavy_check_mark: | | | | || ModelScope | :heavy_check_mark: | | | | | || Moonshot | :heavy_check_mark: | | | :heavy_check_mark: | | |-| novita.ai | :heavy_check_mark: | | | | | |+| Novita AI | :heavy_check_mark: | :heavy_check_mark: | | | | || NVIDIA | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | || Ollama | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | | || OpenAI | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |diff --git a/docs/release_notes.md b/docs/release_notes.mdindex ff01404380..f3790f9f09 100644--- a/docs/release_notes.md+++ b/docs/release_notes.md@@ -412,7 +412,7 @@ Released on August 26, 2024.- Incorporates monitoring for the task executor.- Introduces Agent tools **GitHub**, **DeepL**, **BaiduFanyi**, **QWeather**, and **GoogleScholar**.- Supports chunking of EML files.-- Supports more LLMs or model services: **GPT-4o-mini**, **PerfXCloud**, **TogetherAI**, **Upstage**, **Novita.AI**, **01.AI**, **SiliconFlow**, **PPIO**, **XunFei Spark**, **Baidu Yiyan**, and **Tencent Hunyuan**.+- Supports more LLMs or model services: **GPT-4o-mini**, **PerfXCloud**, **TogetherAI**, **Upstage**, **Novita AI**, **01.AI**, **SiliconFlow**, **PPIO**, **XunFei Spark**, **Baidu Yiyan**, and **Tencent Hunyuan**.## v0.9.0diff --git a/rag/llm/__init__.py b/rag/llm/__init__.pyindex 9e7945d049..ce78e2914f 100644--- a/rag/llm/__init__.py+++ b/rag/llm/__init__.py@@ -234,7 +234,7 @@ ChatModel = {"TogetherAI": TogetherAIChat,"PerfXCloud": PerfXCloudChat,"Upstage": UpstageChat,- "novita.ai": NovitaAIChat,+ "NovitaAI": NovitaAIChat,"SILICONFLOW": SILICONFLOWChat,"PPIO": PPIOChat,"01.AI": YiChat,diff --git a/web/src/constants/llm.ts b/web/src/constants/llm.tsindex dcb37b514d..26f0927311 100644--- a/web/src/constants/llm.ts+++ b/web/src/constants/llm.ts@@ -28,7 +28,7 @@ export enum LLMFactory {TogetherAI = 'TogetherAI',PerfXCloud = 'PerfXCloud',Upstage = 'Upstage',- NovitaAI = 'novita.ai',+ NovitaAI = 'NovitaAI',SILICONFLOW = 'SILICONFLOW',PPIO = 'PPIO',ZeroOneAI = '01.AI',