Skip to content

Commit

Permalink
In-Depth Guides Optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiDBK committed Oct 30, 2024
1 parent 5daf20a commit 900efa4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/en/guide/in_depth_guides/breakpoint_recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ When the program is interrupted or terminated, the file structure in the storage
team.json # Contains information such as team, environment, roles, actions, etc.
```

Example of data summary corresponding to `team.json`.
<details>

<summary>Example of data summary corresponding to team.json </summary>

```json
{
Expand Down Expand Up @@ -140,6 +142,8 @@ Example of data summary corresponding to `team.json`.
}
```

</details>

### Execution order during recovery

Since MetaGPT is an asynchronous execution framework, there are several typical interception points and recovery sequences as follows.
Expand Down
2 changes: 1 addition & 1 deletion src/en/guide/in_depth_guides/rag_module.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This article focuses on the RAG functions provided by the current MetaGPT:
4. Data update, addition of text and Python objects.
5. Data storage and recovery, vectorization is not required each time.

For more examples, please see [rag_pipeline](https://github.com/geekan/MetaGPT/blob/main/examples/rag_pipeline.py) and [rag_search](https://github.com/geekan/MetaGPT/blob/main/examples/rag_search.py)
For more examples, please see [rag_pipeline](https://github.com/geekan/MetaGPT/blob/main/examples/rag/rag_pipeline.py) and [rag_search](https://github.com/geekan/MetaGPT/blob/main/examples/rag/rag_search.py)

## Prepare

Expand Down
6 changes: 5 additions & 1 deletion src/zh/guide/in_depth_guides/breakpoint_recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
team.json # 包含团队、环境、角色、动作等信息
```

`team.json`对应内容的数据概要示例。
<details>

<summary>team.json 对应内容的数据概要示例。</summary>

```json
{
Expand Down Expand Up @@ -140,6 +142,8 @@
}
```

</details>

### 恢复时的执行顺序

由于MetaGPT是异步执行框架,对于下述几种典型的中断截点和恢复顺序。
Expand Down
2 changes: 1 addition & 1 deletion src/zh/guide/in_depth_guides/rag_module.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RAG(Retrieval-Augmented Generation)通过引用外部权威知识库来优
4. 数据更新,增加文本与python对象
5. 数据保存及恢复,不用每次都进行向量化

更多的例子请查看 [rag_pipeline](https://github.com/geekan/MetaGPT/blob/main/examples/rag_pipeline.py)[rag_search](https://github.com/geekan/MetaGPT/blob/main/examples/rag_search.py)
更多的例子请查看 [rag_pipeline](https://github.com/geekan/MetaGPT/blob/main/examples/rag/rag_pipeline.py)[rag_search](https://github.com/geekan/MetaGPT/blob/main/examples/rag/rag_search.py)

## 前置准备

Expand Down

0 comments on commit 900efa4

Please sign in to comment.