mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
In this PR, we added the following items. - Add a toast for letting the user know that the underlying model is being deployed - Start the deployment of trained model if the model deployment has not been started - Add a modal to display the current status of trained model deployment - Show a link to the model management page. - Create a inference endpoint for default inference_ids if they are missing - Display a badge for inference_endpoint - Show warning if mappingsDefinition is null Please be aware that currently, we won't be able to save the mapping using the 'Save mappings' button because the 'semantic_text' functionality doesn't support 'inference_id'. However, there is ongoing parallel work in a GitHub [branch](https://github.com/elastic/elasticsearch/tree/feature/semantic-text) to enable 'inference_id' in 'semantic_text' for Elasticsearch. ### How to test the changes locally - Download the elasticsearch changes from GitHub [branch](https://github.com/elastic/elasticsearch/tree/feature/semantic-text) - Run the elasticsearch: `./gradlew :run -Drun.license_type=trial` - Download the changes of this PR in local kibana and do the following steps + Set isSemanticTextEnabled = true in this [location](https://github.com/elastic/kibana/pull/180246/files#diff-92f4739f8a4a6917951a1b6e1af21a96d54313eaa2b5ce4c0e0553dd2ee11fcaL80) + Run `yarn start` - Create an index named 'books' using the following command: <details> <summary>Click to expand</summary> ``` PUT books { "mappings": { "dynamic_templates": [], "properties": { "date_published": { "type": "date" }, "price": { "type": "float" }, "title": { "type": "text" }, "attributes": { "type": "nested", "properties": { "authors": { "type": "nested", "properties": { "author_name": { "type": "text" }, "author_birthdate": { "type": "date" } // Add more author attributes as needed } }, "genres": { "type": "nested", "properties": { "genre_name": { "type": "keyword" }, "genre_description": { "type": "text" } // Add more genre attributes as needed } } } } } } } ``` </details> - Follow the steps mentioned in this video: |
||
---|---|---|
.. | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/index-management
Contains types and functions used and exported by the index management plugin. Primarily used to avoid cyclical dependencies.