Skip to content

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

Fix typos (#11607)

omahs80f6d22d2a70
diff --git a/README.md b/README.md
index ded81f0999..827b000a48 100644
--- a/README.md
+++ b/README.md
@@ -194,7 +194,7 @@ releases! 🌟
# git checkout v0.22.1
# Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases)
- # This steps ensures the **entrypoint.sh** file in the code matches the Docker image version.
+ # This step ensures the **entrypoint.sh** file in the code matches the Docker image version.
# Use CPU for DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/agent/tools/code_exec.py b/agent/tools/code_exec.py
index e62cace5e3..678d56f020 100644
--- a/agent/tools/code_exec.py
+++ b/agent/tools/code_exec.py
@@ -69,7 +69,7 @@ class CodeExecParam(ToolParamBase):
self.meta: ToolMeta = {
"name": "execute_code",
"description": """
-This tool has a sandbox that can execute code written in 'Python'/'Javascript'. It recieves a piece of code and return a Json string.
+This tool has a sandbox that can execute code written in 'Python'/'Javascript'. It receives a piece of code and return a Json string.
Here's a code example for Python(`main` function MUST be included):
def main() -> dict:
\"\"\"
diff --git a/rag/prompts/citation_prompt.md b/rag/prompts/citation_prompt.md
index 55c89c454e..ff41ea2199 100644
--- a/rag/prompts/citation_prompt.md
+++ b/rag/prompts/citation_prompt.md
@@ -106,4 +106,4 @@ REMEMBER:
- Each citation supports the ENTIRE sentence
- When in doubt, ask: "Would a fact-checker need to verify this?"
- Place citations at sentence end, before punctuation
-- Format likes this is FORBIDDEN: [ID:0, ID:5, ID:...]. It MUST be seperated like, [ID:0][ID:5]...
+- Format likes this is FORBIDDEN: [ID:0, ID:5, ID:...]. It MUST be separated like, [ID:0][ID:5]...