Kroki Test: Difference between revisions
(Add test section for incremental indexer verification) |
(Fix formatting - remove leading spaces from headers for proper parsing) |
||
| Line 1: | Line 1: | ||
== Kroki Extension Test == | |||
=== Test 1: PlantUML Sequence Diagram === | |||
<kroki lang="plantuml"> | |||
@startuml | |||
Alice -> Bob: Authentication Request | |||
Bob --> Alice: Authentication Response | |||
Alice -> Bob: Another authentication Request | |||
Alice <-- Bob: Another authentication Response | |||
@enduml | |||
</kroki> | |||
=== Test 2: PlantUML Class Diagram === | |||
<kroki lang="plantuml"> | |||
@startuml | |||
class VoIPCall { | |||
+String callId | |||
+DateTime startTime | |||
+DateTime endTime | |||
+int duration | |||
+makeCall() | |||
+endCall() | |||
} | |||
class CDR { | |||
+String recordId | |||
+VoIPCall call | |||
+generateReport() | |||
} | |||
VoIPCall "1" -- "1" CDR | |||
@enduml | |||
</kroki> | |||
=== Test 3: Mermaid Flowchart === | |||
<kroki lang="mermaid"> | |||
graph TD | |||
A[Start VoIP Call] -->|Dial| B{Number Valid?} | |||
B -->|Yes| C[Connect Call] | |||
B -->|No| D[Error Message] | |||
C --> E[Call in Progress] | |||
E --> F[End Call] | |||
D --> F | |||
</kroki> | |||
=== Test 4: GraphViz Network Diagram === | |||
<kroki lang="graphviz"> | |||
digraph G { | |||
rankdir=LR; | |||
node [shape=box]; | |||
SIPPhone1 [label="SIP Phone 1"]; | |||
SIPPhone2 [label="SIP Phone 2"]; | |||
PBX [label="VoIPmonitor\nPBX"]; | |||
SIPPhone1 -> PBX [label="SIP"]; | |||
PBX -> SIPPhone2 [label="RTP"]; | |||
} | |||
</kroki> | |||
== New Test Section for Incremental Indexing == | |||
This is a completely new section added to test the incremental wiki indexer. | |||
The section-based indexer should create a doc_type=section document in Qdrant for this content. This verifies that update_wiki_incremental.sh correctly indexes new wiki sections using the agentic RAG format. | |||
Revision as of 03:18, 9 January 2026
Kroki Extension Test
Test 1: PlantUML Sequence Diagram
Test 2: PlantUML Class Diagram
Test 3: Mermaid Flowchart
Test 4: GraphViz Network Diagram
New Test Section for Incremental Indexing
This is a completely new section added to test the incremental wiki indexer.
The section-based indexer should create a doc_type=section document in Qdrant for this content. This verifies that update_wiki_incremental.sh correctly indexes new wiki sections using the agentic RAG format.