Преглед на файлове

fix: update add: IntelligentAgentCreation.md

祝雨婧 преди 3 месеца
родител
ревизия
b5172938e9
променени са 1 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 7 7
      novel-app/docs-prod/LongStoryGeneration.md

+ 7 - 7
novel-app/docs-prod/LongStoryGeneration.md

@@ -12,7 +12,7 @@
 - title: String (项目标题)
 - characters: Array<Pointer> (人物列表,指向人物表)
 - chapters: Array<Pointer> (章节列表,指向章节表)
-### 1.2 人物表(Character)
+### 1.2 人物表(LongCharacter)
 
 - objectId: String (唯一标识)
 - createdAt: Date (创建时间)
@@ -43,7 +43,7 @@ class LongProject {
     +chapters: Array>
 }
 
-class Character {
+class LongCharacter {
     +objectId: String
     +createdAt: Date
     +name: String
@@ -60,7 +60,7 @@ class Chapter {
     +project: Pointer
 }
 
-LongProject "1" -- "0..*" Character : contains
+LongProject "1" -- "0..*" LongCharacter : contains
 LongProject "1" -- "0..*" Chapter : contains
 
 @enduml
@@ -76,13 +76,13 @@ LongProject "1" -- "0..*" Chapter : contains
   - 结果储存
     - LongProject
       - 项目名称name
-    - Character
+    - LongCharacter
       - 人物名称name
       - 人物角色role角色在小说中的定位
       - 人物描述description完整人物描述
 - 添加章节,根据章节大纲生成章节内容
   - 数据来源
-    - Character
+    - LongCharacter
     - 用户输入:章节标题,章节大纲
   - 文本生成
     - 提示词: 章节内容生成提示词(章节大纲)
@@ -98,7 +98,7 @@ LongProject "1" -- "0..*" Chapter : contains
 actor User
 participant "App" as App
 participant "LongProject" as LongProject
-participant "Character" as Character
+participant "LongCharacter" as LongCharacter
 participant "TextGenerationService" as TextGen
 participant "Chapter" as Chapter
 
@@ -109,7 +109,7 @@ User -> App: 点击提交按钮
 App -> LongProject: 创建项目\n(name)
 LongProject -> App: 项目创建成功
 App -> TextGen: 生成人物信息\n(提示词)
-TextGen -> Character: 创建人物\n(name, role, description)
+TextGen -> LongCharacter: 创建人物\n(name, role, description)
 Character -> App: 人物创建成功
 
 == 添加章节 ==