-
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
[GenAI][Integrations] UI for the custom integration creation with AI #186304
Conversation
/ci |
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.
Minor nits and questions
Should we add our plugin in https://github.com/elastic/kibana/blob/main/.eslintrc.js#L1057
x-pack/plugins/integration_assistant/public/common/lib/api_parsers.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/integration_assistant/public/common/lib/api_parsers.ts
Outdated
Show resolved
Hide resolved
...gration/create_integration_assistant/hooks/use_integrations_assistant_availability/index.tsx
Outdated
Show resolved
Hide resolved
...gration_assistant/public/components/create_integration/create_integration_assistant/state.ts
Outdated
Show resolved
Hide resolved
...gration_assistant/public/components/create_integration/create_integration_assistant/state.ts
Outdated
Show resolved
Hide resolved
...ns/integration_assistant/public/components/create_integration/create_integration_context.tsx
Outdated
Show resolved
Hide resolved
/ci |
@elasticmachine merge upstream |
Pinging @elastic/fleet (Team:Fleet) |
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.
limits.yml
...ssistant/public/components/create_integration/create_integration_assistant/header/header.tsx
Outdated
Show resolved
Hide resolved
...ents/create_integration/create_integration_assistant/steps/connector_step/connector_step.tsx
Show resolved
Hide resolved
.../create_integration/create_integration_assistant/steps/data_stream_step/data_stream_step.tsx
Show resolved
Hide resolved
...create_integration/create_integration_assistant/steps/data_stream_step/sample_logs_input.tsx
Outdated
Show resolved
Hide resolved
...create_integration/create_integration_assistant/steps/data_stream_step/sample_logs_input.tsx
Outdated
Show resolved
Hide resolved
...create_integration/create_integration_assistant/steps/data_stream_step/sample_logs_input.tsx
Outdated
Show resolved
Hide resolved
...te_integration/create_integration_assistant/steps/data_stream_step/use_load_package_names.ts
Outdated
Show resolved
Hide resolved
.../create_integration/create_integration_assistant/steps/deploy_step/use_deploy_integration.ts
Outdated
Show resolved
Hide resolved
...ate_integration/create_integration_assistant/steps/integration_step/package_card_preview.tsx
Outdated
Show resolved
Hide resolved
...omponents/create_integration/create_integration_assistant/steps/review_step/fields_table.tsx
Outdated
Show resolved
Hide resolved
...components/create_integration/create_integration_assistant/steps/review_step/translations.ts
Outdated
Show resolved
Hide resolved
...on_assistant/public/components/create_integration/create_integration_landing/translations.ts
Outdated
Show resolved
Hide resolved
...on_assistant/public/components/create_integration/create_integration_landing/translations.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
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.
LGTM! Nice work Sergi! I discussed over Zoom an issue with the Error state. It seems to be loading still even though an error occurred:
Sergi plans to follow up to update this design:
That was the only issue I noticed in manual testing. Code looks great and when using the new Sonnet 3.5 model, the integration was installed very quickly. Amazing work!
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
miscellaneous assets size
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @semd |
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.
Reviewed the demo video. LGTM!
…lastic#186304) ## Summary This ticket is the initial implementation for the UI side for the AI-driven custom integration creation. This PR only contains the implementation of the UI, due to the tight timing it will not include tests, everything will be tested manually for 8.15 FF. We'll implement the tests later. #### Enable Feature The new integration assistant plugin is disabled by default, to enable it: ``` xpack.integration_assistant.enabled: true ``` #### Complete tasks - [x] New integration button on the /integrations page - [x] New integration "landing" page with buttons to upload zip and assistant - [x] Upload zip page to install integration - [x] Integration assistant: - [x] Connector selection step - [x] Integration details step - [x] Data stream step - [x] Review and install #### Follow-ups (will be implemented in separate PRs) - [ ] Add RBAC - [ ] Add telemetry - [ ] Documentation - [ ] Add license/productType controls - [ ] Add links to the create integration page - [ ] Improve package name retrieval: elastic#185932 - [ ] Add time estimation on the generation stage - [ ] Add support for multi-valuated "input type" - [ ] Enable Langsmith tracing using AI assistant settings #### Demo https://github.com/elastic/kibana/assets/17747913/b04c21c6-09cf-49bb-be8f-bf4b9d3feb8e ## Files by Code Owner ### elastic/docs * packages/kbn-doc-links/src/get_doc_links.ts * packages/kbn-doc-links/src/types.ts ### elastic/fleet * x-pack/plugins/fleet/kibana.jsonc * x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx * x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx * x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx * x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx * x-pack/plugins/fleet/public/components/header.tsx * x-pack/plugins/fleet/public/constants/page_paths.ts * x-pack/plugins/fleet/public/plugin.ts * x-pack/plugins/fleet/tsconfig.json ### elastic/kibana-core * x-pack/plugins/fleet/kibana.jsonc * x-pack/plugins/integration_assistant/kibana.jsonc ### elastic/kibana-operations * packages/kbn-optimizer/limits.yml ### elastic/security-solution * x-pack/plugins/integration_assistant/**/* --------- Co-authored-by: Kibana Machine <[email protected]>
## Summary Follow-up of #186304 (review) Improved the error messages and `Retry` button added. ### Screenshots Before  After  --------- Co-authored-by: kibanamachine <[email protected]>
Summary
This ticket is the initial implementation for the UI side for the AI-driven custom integration creation.
This PR only contains the implementation of the UI, due to the tight timing it will not include tests, everything will be tested manually for 8.15 FF. We'll implement the tests later.
Enable Feature
The new integration assistant plugin is disabled by default, to enable it:
Complete tasks
Follow-ups (will be implemented in separate PRs)
Demo
-4022755641775836210ai_ingestion.MP4
Files by Code Owner
elastic/docs
elastic/fleet
elastic/kibana-core
elastic/kibana-operations
elastic/security-solution