Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: sample_rate in siliconflow tts model call (#17043)

Lynnb6ee6c3116d2
diff --git a/rag/llm/tts_model.py b/rag/llm/tts_model.py
index 197c21d282..becb8d3672 100644
--- a/rag/llm/tts_model.py
+++ b/rag/llm/tts_model.py
@@ -407,7 +407,7 @@ class SILICONFLOWTTS(HTTPBasedTTS):
"input": text,
"voice": f"{self.model_name}:{voice}",
"response_format": "mp3",
- "sample_rate": 123,
+ "sample_rate": 32000,
"stream": True,
"speed": 1,
"gain": 0,