-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security AI] Out of band prompts #207138
base: main
Are you sure you want to change the base?
Conversation
🤖 Jobs for this PR can be triggered through checkboxes. 🚧
ℹ️ To trigger the CI, please tick the checkbox below 👇
|
import type { SavedObjectsType } from '@kbn/core/server'; | ||
import { promptSavedObjectType } from '../../../common/constants'; | ||
|
||
export const promptSavedObjectMappings: SavedObjectsType['mappings'] = { |
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.
Hi @andrew-goldstein. @patrykkopycinski suggested we use saved objects for the prompts. Here is my proposal for the mappings. Please let me know what you think
prompt: { | ||
properties: { | ||
// ISO 639 two-letter language code | ||
en: { |
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.
Trying to future proof, in case we support more languages in the future
Summary
WIP