-
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
[Security Assistant] Product documentation tool #199694
Conversation
…o product_doc_tool
Pinging @elastic/security-solution (Team: SecuritySolution) |
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.
Dependency update LGTM
…o product_doc_tool
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
History
|
}; | ||
}, | ||
tags: ['product-documentation'], | ||
// TODO: Remove after ZodAny is fixed https://github.com/langchain-ai/langchainjs/blob/main/langchain-core/src/tools.ts |
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.
nit: I tried to follow the link to learn more, but it's 404
at the time of this writing. I was wondering if this file was the intended link, but it doesn't appear to explain this comment.
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.
Thanks @stephmilovic for adding this feature 🙏
✅ Desk tested locally while the ProductDocumentationTool
was still installing locally, and after it was available
LGTM 🚀
Starting backport for target branches: 8.x |
(cherry picked from commit e099b31)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Assistant] Product documentation tool (#199694)](#199694) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T21:16:45Z","message":"[Security Assistant] Product documentation tool (#199694)","sha":"e099b3189323a03dc833a8efd4eaf9ebc8cf3d16","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team: SecuritySolution","backport:prev-minor","Team:Security Generative AI"],"title":"[Security Assistant] Product documentation tool","number":199694,"url":"https://github.com/elastic/kibana/pull/199694","mergeCommit":{"message":"[Security Assistant] Product documentation tool (#199694)","sha":"e099b3189323a03dc833a8efd4eaf9ebc8cf3d16"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199694","number":199694,"mergeCommit":{"message":"[Security Assistant] Product documentation tool (#199694)","sha":"e099b3189323a03dc833a8efd4eaf9ebc8cf3d16"}}]}] BACKPORT--> Co-authored-by: Steph Milovic <[email protected]>
Summary
Implements product documentation retrieval task in the security assistant.
AIAssistantService.initializeResources
to ensure installation of product docsWithout product docs:
LangSmith Trace
With product docs:
LangSmith Trace
Testing
What is Elastic Painless?
ProductDocumentationTool
was called