mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
refactor(project): normalize formatting and reorder class members across modules
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# 流程参考: 记忆模块
|
||||
|
||||
> 仅展示大致流程,缓存命中、持久化等内容在下方流程图中尚未体现
|
||||
|
||||
## 前置模块: [MemorySelector](../../Partner-Main/src/main/java/work/slhaf/partner/module/modules/memory/selector/MemorySelector.java)
|
||||
|
||||
```mermaid
|
||||
---
|
||||
config:
|
||||
@@ -45,6 +47,7 @@ flowchart TD
|
||||
```
|
||||
|
||||
### 后置模块: [MemoryUpdater](../../Partner-Main/src/main/java/work/slhaf/partner/module/modules/memory/updater/MemoryUpdater.java)
|
||||
|
||||
```mermaid
|
||||
---
|
||||
config:
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
# 流程参考: 感知模块
|
||||
|
||||
> 相较于其他模块,目前的感知模块实际上流程非常简单,但后续或将添加一些新的内容
|
||||
> 此外,其后置模块实际上与 [记忆模块](./memory.md) 中的后置模块为并发执行,且都为后台任务
|
||||
|
||||
## 前置模块: [PerceiveSelector](../../Partner-Main/src/main/java/work/slhaf/partner/module/modules/perceive/selector/PerceiveSelector.java)
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
Context[流程上下文] --> |获取| UserId
|
||||
@@ -18,6 +20,7 @@ flowchart TD
|
||||
```
|
||||
|
||||
## 后置模块: [PerceiveUpdater](../../Partner-Main/src/main/java/work/slhaf/partner/module/modules/perceive/updater/PerceiveUpdater.java)
|
||||
|
||||
```mermaid
|
||||
---
|
||||
config:
|
||||
|
||||
@@ -7,12 +7,15 @@
|
||||
确保已经安装`Java21`环境
|
||||
|
||||
克隆项目至本地:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/slhafzjw/Partner.git
|
||||
```
|
||||
|
||||
## 准备配置
|
||||
|
||||
克隆好项目之后,在项目的根目录创建目录`config/`
|
||||
|
||||
### 准备基础配置文件
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user