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
fix re sub bug (#2199)
Kevin Hub10eb8d0858f
diff --git a/rag/llm/tts_model.py b/rag/llm/tts_model.pyindex 3ae170ee8e..c477313a90 100644--- a/rag/llm/tts_model.py+++ b/rag/llm/tts_model.py@@ -53,9 +53,10 @@ class Base(ABC):def tts(self, audio):pass- def normalize_text(text):+ def normalize_text(self, text):return re.sub(r'(\*\*|##\d+\$\$|#)', '', text)+class FishAudioTTS(Base):def __init__(self, key, model_name, base_url="https://api.fish.audio/v1/tts"):if not base_url: