Skip to content

Commit b3ff05e

Browse files
committed
Docs: Add Mermaid flowchart for chatbot RAG+NLP flow.
1 parent a6d4dbf commit b3ff05e

File tree

1 file changed

+42
-1
lines changed

1 file changed

+42
-1
lines changed

Chatbot_NLP_Demo.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,45 @@ graph TD
116116

117117
---
118118

119-
*For more details, see the full documentation in `testartifacts/docs/AI_Testing_Assistant/nlp/NLP_Chatbot_Implementation_Article.md`.*
119+
## 🗺️ Chatbot RAG+NLP Flow (Mermaid)
120+
121+
```mermaid
122+
flowchart TD
123+
%% User Layer
124+
A[User / Engineer] -->|Natural Language Query| B(Chatbot / NLP Engine)
125+
126+
%% NLP & Intent
127+
B -->|Intent Recognition| C{Intent}
128+
129+
%% Intent Branches
130+
C -->|Knowledge Query| D[RAG Engine]
131+
C -->|Framework Action| M[Automation Framework]
132+
133+
%% RAG Internal Flows
134+
D -->|Semantic Search| E[Knowledge Base]
135+
D -->|Embedding Lookup| F[Embedding Cache]
136+
D -->|LLM Completion| G[LLM Provider Manager]
137+
138+
%% Providers
139+
G --> H[Cloud / Local LLMs\n(OpenAI, HuggingFace, Ollama)]
140+
141+
%% Return path
142+
E --> D
143+
F --> D
144+
H --> D
145+
146+
D -->|Synthesized Answer| B
147+
B -->|Conversational Response| A
148+
```
149+
150+
---
151+
152+
## 7. References
153+
- [Full Implementation Article](testartifacts/docs/AI_Testing_Assistant/nlp/NLP_Chatbot_Implementation_Article.md)
154+
- [RAGKnowledgeChatbot.java](src/main/java/org/k11techlab/framework/ai/chatbot/RAGKnowledgeChatbot.java)
155+
- [StrictFrameworkRAGChatbot.java](src/main/java/org/k11techlab/framework/ai/chatbot/StrictFrameworkRAGChatbot.java)
156+
- [ChatbotGUI.java](src/main/java/org/k11techlab/framework/ai/chatbot/ChatbotGUI.java)
157+
- [RAGEnhancedAIClient.java](src/main/java/org/k11techlab/framework/ai/rag/RAGEnhancedAIClient.java)
158+
- [AIProviderManager.java](src/main/java/org/k11techlab/framework/ai/manager/AIProviderManager.java)
159+
- [Sample Properties](config/chatbot.ai.properties)
160+
- [Demo Screenshots](testartifacts/assets/demo_screenshots/chatbot_nlp/)

0 commit comments

Comments
 (0)