Skip to content

Commit 0fff00d

Browse files
authored
Update adr-chat-module-architecture.md
Signed-off-by: Anastas Stoyanovsky <[email protected]>
1 parent fad5ba1 commit 0fff00d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/adr-chat-module-architecture.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Tuning retrieval systems requires significant expertise and testing, and there a
88

99
Having a single code path that conditionally executes various strategies based on a mixture of configuration, application state, and user input can quickly become difficult to maintain, debug, and even understand. That chat module in InstructLab would benefit from a principled approach; that is, to be purposefully architected before becoming a [big ball of mud](http://www.laputan.org/mud/?ref=blog.codinghorror.com).
1010

11+
Prompt template management, model interaction pattern, chat session history, and any interactions with third party systems can vary by use case and so should be logically grouped for purposes of at least maintainability, understandability, modifiability, and testability.
12+
1113
## Decision
1214

1315
The InstructLab chat module will adopt a [strategy pattern](https://en.wikipedia.org/wiki/Strategy_pattern).

0 commit comments

Comments
 (0)