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) #198448

Closed

Conversation

stephmilovic
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
@stephmilovic stephmilovic enabled auto-merge (squash) October 30, 2024 21:20
@stephmilovic
Copy link
Contributor Author

did not see Patryk's, closing mine in favor of his #198439

auto-merge was automatically disabled October 30, 2024 21:21

Pull request was closed

@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 30, 2024

💔 Build Failed

Failed CI Steps

History

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