Skip to content
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

[8.16] [Security Assistant] Knowledge base switch to use semantic_text (#197007) #198439

Merged

Conversation

patrykkopycinski
Copy link
Contributor

Backport

This will backport the following commits from main to 8.16:

Questions ?

Please refer to the Backport tool documentation

…astic#197007)

## Summary

- `text_expansion` is deprecated, use `semantic_text` instead
- fix KB index entry form field options
- explicitly create inference endpoint on KB setup if
`assistantKnowledgeBaseByDefault` is true
- when upgrade from v1 update KB ingest pipeline and remove unnecessary
processor, but keep the pipeline for the backward compatibility
- switch to use `doc` update for KB entries due to the limitations od
`semantic_text`
https://www.elastic.co/guide/en/elasticsearch/reference/current/semantic-text.html#update-script
- split loading Security labs content into smaller chunks

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Pedro Jaramillo <[email protected]>
(cherry picked from commit a8c54f2)

# Conflicts:
#	packages/kbn-data-stream-adapter/src/field_maps/types.ts
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 20.6MB 20.6MB +1.2KB

@patrykkopycinski patrykkopycinski merged commit 2064a2c into elastic:8.16 Oct 30, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants