-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Obs AI Assistant] Add KB user instructions #187607
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 8 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
f71a8e4
[Obs AI Assistant] Add KB user instructions
f54af02
Improve description
7c65ee9
Address feedback
4c32316
Revert change to `requestInstructions`
f18dc24
Merge branch 'main' of github.com:elastic/kibana into kb-user-instruc…
371fb5e
Merge branch 'main' of github.com:elastic/kibana into kb-user-instruc…
421386f
Add UI for editing system prompt
dec0374
Merge branch 'main' into kb-user-instructions
063575b
Address feedback
14ec494
Merge branch 'main' of github.com:elastic/kibana into kb-user-instruc…
b43022b
Add comments
55255d9
i18n fix
3fe25f2
Improve naming
e69c9fb
Rename to adhoc instruction and fix tests
8a8e87d
Change terminology from “system prompt” to "AI User Profile"
4e78002
Remove unneeded header
6c4e406
Fix failing test
07d7c65
Remove `type`
9b2b3e1
Add route for retrieving user instructions
8e1fbcb
Remove unused type
4a49ee7
Add api tests
9392a44
Merge branch 'main' of github.com:elastic/kibana into kb-user-instruc…
88433ef
i18n
c6892fe
Improve api test
c05f37c
Fix order
ab8e19c
Add test for updating instruction
334d0e7
Test improvements
299167a
Merge branch 'main' of github.com:elastic/kibana into kb-user-instruc…
816e6eb
Merge branch 'main' of github.com:elastic/kibana into kb-user-instruc…
c2953b3
Add test that validates user instruction is added to system prompt
e433ab7
Add test to verify other users does not see instruction in their conv…
3639edf
Fik jest test (token count fixes)
e238ba0
Undo change to tsconfig.base.json
61bf0f4
Use shared `isFunctionTitleRequest`
4f960da
Remove unused import
4f0982c
Fix tsc issues
55a4fd5
Fix functional test
d41849c
Fix functional test
20f56fd
Fix jest
464b0b8
Remove context intercept
d76f1ce
Merge branch 'main' into kb-user-instructions
72f3338
Fix tests by clearing conversations
3004e2d
Merge branch 'main' into kb-user-instructions
ed6ee2c
Merge branch 'main' into kb-user-instructions
ee78461
Merge branch 'main' into kb-user-instructions
39627f1
Cleanup helper functions
465b77b
Change to debug
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.