Skip to content

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

Update error message (#4417)

Jin Haid64df4de9c55
diff --git a/docs/guides/start_chat.md b/docs/guides/start_chat.md
index 40a7b2dc24..0e1f43e4b1 100644
--- a/docs/guides/start_chat.md
+++ b/docs/guides/start_chat.md
@@ -58,11 +58,11 @@ You start an AI conversation by creating an assistant.
:::tip NOTE
Click the light bubble icon above the answer to view the expanded system prompt:
-
+
![](https://github.com/user-attachments/assets/515ab187-94e8-412a-82f2-aba52cd79e09)
-
+
Scroll down the expanded prompt to view the time consumed for each task:
-
+
![enlighten](https://github.com/user-attachments/assets/fedfa2ee-21a7-451b-be66-20125619923c)
:::
diff --git a/rag/utils/es_conn.py b/rag/utils/es_conn.py
index f4de03aba7..2a27247ad9 100644
--- a/rag/utils/es_conn.py
+++ b/rag/utils/es_conn.py
@@ -41,7 +41,7 @@ class ESConnection(DocStoreConnection):
logger.warning(f"{str(e)}. Waiting Elasticsearch {settings.ES['hosts']} to be healthy.")
time.sleep(5)
if not self.es.ping():
- msg = f"Elasticsearch {settings.ES['hosts']} didn't become healthy in 120s."
+ msg = f"Elasticsearch {settings.ES['hosts']} is unhealthy in 120s."
logger.error(msg)
raise Exception(msg)
v = self.info.get("version", {"number": "8.11.3"})
diff --git a/rag/utils/infinity_conn.py b/rag/utils/infinity_conn.py
index 034e53785a..38dd924842 100644
--- a/rag/utils/infinity_conn.py
+++ b/rag/utils/infinity_conn.py
@@ -94,7 +94,7 @@ class InfinityConnection(DocStoreConnection):
logger.warning(f"{str(e)}. Waiting Infinity {infinity_uri} to be healthy.")
time.sleep(5)
if self.connPool is None:
- msg = f"Infinity {infinity_uri} didn't become healthy in 120s."
+ msg = f"Infinity {infinity_uri} is unhealthy in 120s."
logger.error(msg)
raise Exception(msg)
logger.info(f"Infinity {infinity_uri} is healthy.")