mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary Fix https://github.com/elastic/search-team/issues/10018 - introduce the concept of onechat agents (add types and APIs) - implement the default onechat agent (chat agent) - add support for conversations (persistence / APIs) - expose a "chat" API to start and resume conversations - add browser-side services to utilize all those features and APIs - add a new `onechat` Kibana feature (and secure our endpoints accordingly) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
20 lines
578 B
TypeScript
20 lines
578 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
export const ONECHAT_FEATURE_ID = 'onechat';
|
|
export const ONECHAT_FEATURE_NAME = 'onechat';
|
|
export const ONECHAT_APP_ID = 'onechat_app';
|
|
|
|
export const uiPrivileges = {
|
|
show: 'show',
|
|
showManagement: 'showManagement',
|
|
};
|
|
|
|
export const apiPrivileges = {
|
|
readOnechat: 'read_onechat',
|
|
manageOnechat: 'manage_onechat',
|
|
};
|