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
Stubs out UI for the ML Inference Pipeline panel #140456
Stubs out UI for the ML Inference Pipeline panel #140456
Conversation
…-ref HEAD~1..HEAD --fix'
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.
This looks pretty good to me. Want to convert this to a regular PR so we can get it merged after tests are complete?
…r/kibana into ent-search-ml-pipelines-panel
* 2.0. | ||
*/ | ||
|
||
export interface IInferencePipeline { |
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.
Can we remove the first I
for purposes of consistency? It doesn't look like we use that convention anywhere else in the enterprise search Kibana code.
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.
But let's merge this first :)
@brianmcgue @sphilipse - the test file here currently only covers the individual inference pipeline cards. I know that this is blocking other work, so if we wanna get this merged and tackle test coverage in a follow up PR, I'm not personally opposed. Either way, this has been marked as ready for review. In the meantime, I'll try to get more code coverage in the test files. |
export interface IInferencePipeline { | ||
pipelineName: string; | ||
trainedModelName: string; | ||
isDeployed: boolean; | ||
modelTypes: string[]; | ||
} |
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.
I think for consistency's sake, we want to remove the first I
from the interface name. Then modelTypes
seems to be a combination of model_type
and tags
fields from the Get trained models API. Not sure if you want both or a specific one.
export interface InferencePipeline {
isDeployed: boolean;
modelType: string;
pipelineName: string;
tags: string[];
trainedModelName: string;
}
…r/kibana into ent-search-ml-pipelines-panel # Conflicts: # x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_pipeline_card.test.tsx
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/ml-ui (:ml) |
Summary
This PR gets the ML Inference Pipeline panel UI stubbed out. It also makes some modifications to the
data_panel
component in Enterprise Search:React.ReactNode
EuiFlexItem
s around so that thesubtitle
can go fullwidthChecklist
Delete any items that are not applicable to this PR.
If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker listFor maintainers