From 9c8060f61930dc0cc713e5fc7000db8a23b7dda8 Mon Sep 17 00:00:00 2001 From: writinwaters <93570324+writinwaters@users.noreply.github.com> Date: Thu, 13 Mar 2025 14:43:24 +0800 Subject: [PATCH] 0.17.1 release notes (#6021) ### What problem does this PR solve? ### Type of change - [x] Documentation Update --- .../agent_component_reference/switch.mdx | 1 + docs/release_notes.md | 29 ++++++++++++++++++- rag/llm/chat_model.py | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/guides/agent/agent_component_reference/switch.mdx b/docs/guides/agent/agent_component_reference/switch.mdx index 7f81e99db..66d9aec4c 100644 --- a/docs/guides/agent/agent_component_reference/switch.mdx +++ b/docs/guides/agent/agent_component_reference/switch.mdx @@ -34,6 +34,7 @@ Evaluates whether the output of specific components meets certain conditions, wi :::danger IMPORTANT When you have added multiple conditions for a specific case, a **Logical operator** field appears, requiring you to set the logical relationship between these conditions as either AND or OR. +![Image](https://github.com/user-attachments/assets/102f006e-9906-49c2-af43-de6af03d5074) ::: - **Component ID**: The ID of the corresponding component. diff --git a/docs/release_notes.md b/docs/release_notes.md index 463144282..8a3286ec8 100644 --- a/docs/release_notes.md +++ b/docs/release_notes.md @@ -7,6 +7,33 @@ slug: /release_notes Key features, improvements and bug fixes in the latest releases. +## v0.17.1 + +Released on March 11, 2025. + +### Improvements + +- Improves English tokenization quality. +- Improves the table extraction logic in Markdown document parsing. +- Updates SiliconFlow's model list. +- Supports parsing XLS files (Excel97~2003) with improved corresponding error handling. +- Supports Huggingface rerank models. +- Enables relative time expressions ("now", "yesterday", "last week", "next year", and more) in the **Rewrite** agent component. + +### Fixed issues + +- A repetitive knowledge graph extraction issue. +- Issues with API calling. +- Options in the **Document parser** dropdown are missing. +- A Tavily web search issue. +- Unable to preview diagrams or images in an AI chat. + +### Documentation + +#### Added documents + +[Use tag set](./guides/dataset/use_tag_sets.md) + ## v0.17.0 Released on March 3, 2025. @@ -20,7 +47,7 @@ Released on March 3, 2025. - Dataset: Adds a **Document parser** dropdown menu to dataset configurations. This includes a DeepDoc model option, which is time-consuming, a much faster **naive** option (plain text), which skips DLA (Document Layout Analysis), OCR (Optical Character Recognition), and TSR (Table Structure Recognition) tasks, and several currently *experimental* large model options. - Agent component: **(x)** or a forward slash `/` can be used to insert available keys (variables) in the system prompt field of the **Generate** or **Template** component. - Object storage: Supports using Aliyun OSS (Object Storage Service) as a file storage option. -- Models: Updates the supported model list for Tongyi-Qianwen, adding DeepSeek-specific models; adds ModelScope as a model provider. +- Models: Updates the supported model list for Tongyi-Qianwen (Qwen), adding DeepSeek-specific models; adds ModelScope as a model provider. - APIs: Document metadata can be updated through an API. The following diagram illustrates the workflow of RAGFlow's Deep Research: diff --git a/rag/llm/chat_model.py b/rag/llm/chat_model.py index 362433998..918f45688 100644 --- a/rag/llm/chat_model.py +++ b/rag/llm/chat_model.py @@ -30,7 +30,7 @@ import requests import asyncio LENGTH_NOTIFICATION_CN = "······\n由于大模型的上下文窗口大小限制,回答已经被大模型截断。" -LENGTH_NOTIFICATION_EN = "...\nThe answer is truncated by your chosen LLM due to its context length limitation." +LENGTH_NOTIFICATION_EN = "...\nThe answer is truncated by your chosen LLM due to its limitation on context length." class Base(ABC):