Skip to content

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

fix tts add bug (#2224)

黄腾87a998e9e53b
diff --git a/api/apps/llm_app.py b/api/apps/llm_app.py
index c50c0a5727..5e045e1c39 100644
--- a/api/apps/llm_app.py
+++ b/api/apps/llm_app.py
@@ -236,7 +236,7 @@ def add_llm():
key=llm["api_key"], model_name=llm["llm_name"], base_url=llm["api_base"]
)
try:
- for resp in mdl.transcription("Hello~ Ragflower!"):
+ for resp in mdl.tts("Hello~ Ragflower!"):
pass
except RuntimeError as e:
msg += f"\nFail to access model({llm['llm_name']})." + str(e)