mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
Fix typos (#11607)
### What problem does this PR solve? Fix typos ### Type of change - [x] Fix typos
This commit is contained in:
@ -194,7 +194,7 @@ releases! 🌟
|
|||||||
|
|
||||||
# git checkout v0.22.1
|
# git checkout v0.22.1
|
||||||
# Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases)
|
# 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:
|
# Use CPU for DeepDoc tasks:
|
||||||
$ docker compose -f docker-compose.yml up -d
|
$ docker compose -f docker-compose.yml up -d
|
||||||
|
|||||||
@ -69,7 +69,7 @@ class CodeExecParam(ToolParamBase):
|
|||||||
self.meta: ToolMeta = {
|
self.meta: ToolMeta = {
|
||||||
"name": "execute_code",
|
"name": "execute_code",
|
||||||
"description": """
|
"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):
|
Here's a code example for Python(`main` function MUST be included):
|
||||||
def main() -> dict:
|
def main() -> dict:
|
||||||
\"\"\"
|
\"\"\"
|
||||||
|
|||||||
@ -106,4 +106,4 @@ REMEMBER:
|
|||||||
- Each citation supports the ENTIRE sentence
|
- Each citation supports the ENTIRE sentence
|
||||||
- When in doubt, ask: "Would a fact-checker need to verify this?"
|
- When in doubt, ask: "Would a fact-checker need to verify this?"
|
||||||
- Place citations at sentence end, before punctuation
|
- 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]...
|
||||||
|
|||||||
Reference in New Issue
Block a user