-
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
[Enterprise Search] Index Pipelines Inference History #142802
[Enterprise Search] Index Pipelines Inference History #142802
Conversation
e654695
to
c6cd791
Compare
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.
We can merge after adding missing path
on logic file
|
||
export const InferenceHistoryLogic = kea< | ||
MakeLogicType<InferenceHistoryValues, InferenceHistoryActions> | ||
>({ |
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.
path
is missing.
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.
will fix, I need to fix something else too.
e703ab0
to
be63d3a
Compare
@@ -623,4 +624,26 @@ export function registerIndexRoutes({ | |||
} | |||
}) | |||
); | |||
|
|||
router.get( |
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 need to add a test for this too, I'll do that today and update this PR.
be63d3a
to
dba59db
Compare
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.
Just a little nitpick about spelling. Looks good though!
client: ElasticsearchClient, | ||
index: string | ||
): Promise<MlInferenceHistoryResponse> => { | ||
const ingestPipeleProcessorsResult = await client.search< |
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.
ingestPipelineProcessorsResult
dba59db
to
0090430
Compare
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
Hey @TattdCodeMonkey, It looks like this PR crossed with @sphilipse's PR (#142881) that introduces some new linting rules for enterprise search. I'm now seeing the following error on main:
|
* [Enterprise Search] add inference history endpoint * [Enterprise Search] show index pipeline inference history * use snake_case for response keys * fix: add paths to pipelines logics * test: inference history endpoint * refactor: typo in variable name
* [Enterprise Search] add inference history endpoint * [Enterprise Search] show index pipeline inference history * use snake_case for response keys * fix: add paths to pipelines logics * test: inference history endpoint * refactor: typo in variable name
Summary
Checklist