完善文档
This commit is contained in:
1 parent
192ea96eb4
commit
efc08dab5e
82 files changed
+1455
-109
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# 数据流
|
||||
|
||||
## Agent Run
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
A["Request"] --> B["Create Run"]
|
||||
B --> C["Build Context"]
|
||||
C --> D["Memory Retrieval"]
|
||||
D --> E["Planning"]
|
||||
E --> F["Model"]
|
||||
F --> G["Tool"]
|
||||
G --> H["Observation"]
|
||||
H --> I["Evaluation"]
|
||||
I -->|continue| E
|
||||
I -->|finish| J["Result"]
|
||||
H --> K["Memory Consolidation"]
|
||||
```
|
||||
|
||||
## 数据原则
|
||||
|
||||
短期状态进入 Redis;需要长期保存的数据进入 PostgreSQL;语义检索数据进入 VectorStore;关系型知识进入 GraphStore;二进制内容进入 FileStorage。
|
||||
Reference in new issue
Block a user