-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
833b539
commit 3b17f6b
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@startuml | ||
!define RECTANGLE_BACK_COLOR #EEEEEE | ||
skinparam shadowing false | ||
skinparam rectangle { | ||
BackgroundColor RECTANGLE_BACK_COLOR | ||
BorderColor #333333 | ||
FontStyle bold | ||
FontSize 13 | ||
} | ||
|
||
rectangle "AI Assistant API" { | ||
rectangle "Endpoints" { | ||
[Summarize Endpoint] | ||
[PlanChat Endpoint] | ||
} | ||
|
||
rectangle "Services" { | ||
rectangle "Document Reader" { | ||
[Reader] <|-- [PdfReader] | ||
[Reader] <|-- [XmlReader] | ||
[Reader] <|-- [OCRReader] | ||
|
||
[create_reader] --> [Reader] : "Create Reader Instance <<Factory Pattern>>" | ||
[extract_text] --> [create_reader] : "Read File Using Strategy <<Strategy Pattern>>" | ||
} | ||
|
||
rectangle "AI Agent Services" { | ||
[invoke_agent] | ||
[invoke_plan_agent] | ||
} | ||
rectangle "External AI Models" { | ||
[query_cad_aid] | ||
[query_arkivgpt] | ||
} | ||
} | ||
} | ||
|
||
[Summarize Endpoint] --> [extract_text] : "Trigger Text Extraction" | ||
[Summarize Endpoint] --> [External AI Models] : "Send Data to External AI Models" | ||
[Summarize Endpoint] --> [invoke_agent] : "Invoke Agent Chain with Extracted Text" | ||
[PlanChat Endpoint] --> [invoke_plan_agent] : "Invoke Plan Agent Chain with User Query" | ||
|
||
@enduml |