mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
1. Changed AI Assistant API license check to be consistent with client. 2. Fixed API access issues
36 lines
1.2 KiB
TypeScript
Executable file
36 lines
1.2 KiB
TypeScript
Executable file
/*
|
|
* 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 PLUGIN_ID = 'elasticAssistant';
|
|
export const PLUGIN_NAME = 'elasticAssistant';
|
|
|
|
export const BASE_PATH = '/internal/elastic_assistant';
|
|
|
|
export const POST_ACTIONS_CONNECTOR_EXECUTE = `${BASE_PATH}/actions/connector/{connectorId}/_execute`;
|
|
|
|
// Knowledge Base
|
|
export const KNOWLEDGE_BASE = `${BASE_PATH}/knowledge_base/{resource?}`;
|
|
|
|
// Model Evaluation
|
|
export const EVALUATE = `${BASE_PATH}/evaluate`;
|
|
|
|
export const MAX_CONVERSATIONS_TO_UPDATE_IN_PARALLEL = 50;
|
|
export const CONVERSATIONS_TABLE_MAX_PAGE_SIZE = 100;
|
|
|
|
export const MAX_ANONYMIZATION_FIELDS_TO_UPDATE_IN_PARALLEL = 50;
|
|
export const ANONYMIZATION_FIELDS_TABLE_MAX_PAGE_SIZE = 100;
|
|
|
|
export const MAX_PROMPTS_TO_UPDATE_IN_PARALLEL = 50;
|
|
export const PROMPTS_TABLE_MAX_PAGE_SIZE = 100;
|
|
|
|
// Capabilities
|
|
export const CAPABILITIES = `${BASE_PATH}/capabilities`;
|
|
|
|
/**
|
|
Licensing requirements
|
|
*/
|
|
export const MINIMUM_AI_ASSISTANT_LICENSE = 'enterprise' as const;
|