焦怡璇 1 vuosi sitten
vanhempi
commit
3a59435077
3 muutettua tiedostoa jossa 63 lisäystä ja 1 poistoa
  1. 5 0
      .vscode/settings.json
  2. 37 1
      README.md
  3. 21 0
      test.md

+ 5 - 0
.vscode/settings.json

@@ -0,0 +1,5 @@
+{
+    "plantuml.server": "http://192.168.1.100:8080",
+    "plantuml.render": "PlantUMLServer",
+
+}

+ 37 - 1
README.md

@@ -28,7 +28,43 @@
 - 开始聊天:用户选择与AI进行对话,系统实时监测用户的心情变化。
 - 个性化心理疏通:AI根据用户的性格偏向和当前心情,提供个性化的心理支持和建议。
 - 反馈与调整:用户可以对AI的回复进行反馈,系统根据反馈进行动态调整和优化。
-
+> 时序图
+```plantuml
+@startuml
+participant User
+participant System as "AI System"
+ 
+== User Registration & Login ==
+User -> System: Register with phone/social account
+System -> User: Send verification/confirmation
+User -> System: Login
+ 
+== Personality Test ==
+User -> System: Start personality test
+System -> User: Provide test questions
+User -> System: Submit test answers
+System -> System: Analyze test results
+System -> User: Show personality results
+ 
+== Start Chatting ==
+User -> System: Initiate chat
+loop During Chat
+    System -> System: Monitor user's mood
+    User -> System: Send message
+    System -> User: Reply with AI-generated message
+end
+ 
+== Personalized Psychological Support ==
+System -> System: Analyze user's personality and mood
+System -> User: Provide personalized support and suggestions
+ 
+== Feedback & Adjustment ==
+User -> System: Provide feedback on AI's response
+System -> System: Adjust and optimize AI based on feedback
+System -> User: (Optional) Acknowledge feedback receipt
+ 
+@enduml
+```
 # 五、商业模式
 - 订阅服务:用户可以选择按月或按年订阅服务,享受持续的心理疏通支持。
 - 增值服务:提供一对一专业心理咨询预约、心理健康课程等增值服务,满足用户更深层次的需求。

+ 21 - 0
test.md

@@ -0,0 +1,21 @@
+```plantuml
+@startuml
+abstract        abstract
+abstract class  "abstract class"
+annotation      annotation
+circle          circle
+()              circle_short_form
+class           class
+class           class_stereo  <<stereotype>>
+diamond         diamond
+<>              diamond_short_form
+entity          entity
+enum            enum
+exception       exception
+interface       interface
+metaclass       metaclass
+protocol        protocol
+stereotype      stereotype
+struct          struct
+@enduml
+```