Skip to content

Commit

Permalink
chore: update Reader in package diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Nov 14, 2024
1 parent 3b17f6b commit 6f5316e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/diagrams/package-diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ rectangle "AI Assistant API" {
[Reader] <|-- [OCRReader]

[create_reader] --> [Reader] : "Create Reader Instance <<Factory Pattern>>"
[extract_text] --> [create_reader] : "Read File Using Strategy <<Strategy Pattern>>"
[extract_text] --> [create_reader] : "Read File and Extract Text"

' Adding a note to Reader
note right of Reader
<<Strategy Pattern>>
Defines the strategy for reading different document types
end note
}

rectangle "AI Agent Services" {
Expand Down

0 comments on commit 6f5316e

Please sign in to comment.