-
Notifications
You must be signed in to change notification settings - Fork 0
docs: README sequence diagram + chatbot learns the architecture #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -711,6 +711,32 @@ export const INTENT_PATTERNS: IntentPattern[] = [ | |
| ], | ||
| examples: ["is Blindfold on npm?", "how do I install Blindfold?", "what's the npm package?"], | ||
| }, | ||
| { | ||
| intent: "system_architecture", | ||
| patterns: [ | ||
| { type: "phrase", value: "system design", weight: 6 }, | ||
| { type: "phrase", value: "architect", weight: 5 }, | ||
| { type: "phrase", value: "design of", weight: 3 }, | ||
| { type: "phrase", value: "how is it built", weight: 4 }, | ||
| { type: "phrase", value: "how is blindfold built", weight: 5 }, | ||
| { type: "phrase", value: "how does the whole system", weight: 5 }, | ||
| { type: "phrase", value: "components", weight: 2 }, | ||
| { type: "phrase", value: "how it works end to end", weight: 4 }, | ||
| ], | ||
| examples: ["how is Blindfold architected?", "explain the system design", "what are the components?"], | ||
| }, | ||
| { | ||
| intent: "three_secret_paths", | ||
| patterns: [ | ||
| { type: "phrase", value: "three ways", weight: 6 }, | ||
| { type: "phrase", value: "three paths", weight: 6 }, | ||
| { type: "phrase", value: "proxy vs release", weight: 7 }, | ||
| { type: "phrase", value: "release vs proxy", weight: 7 }, | ||
| { type: "phrase", value: "secret paths", weight: 6 }, | ||
| { type: "phrase", value: "release broker", weight: 4 }, | ||
| ], | ||
| examples: ["what are the three secret paths?", "proxy vs release?"], | ||
| }, | ||
|
Comment on lines
+714
to
+739
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Overconfident generic intents The new intent patterns include very generic phrases (e.g., "components", "three ways") that are matched via substring and can yield confidence=1.0 with only a single hit, causing incorrect intent routing and overly confident answers for minimally-related queries. Agent Prompt
|
||
| { | ||
| intent: "signup_vs_login", | ||
| patterns: [ | ||
|
|
||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Kb deep-link url mismatch
🐞 Bug≡ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools