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

[Backport 2.13] Fix: change max chunk limit exception #720

Merged
merged 1 commit into from
May 1, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 86b70e0 from #717

* change max chunk limit exception

Signed-off-by: yuye-aws <[email protected]>

* fix integration tests for two chunking algorithm

Signed-off-by: yuye-aws <[email protected]>

* update changelog

Signed-off-by: yuye-aws <[email protected]>

* add run time parameter string_tobe_chunked_count

Signed-off-by: yuye-aws <[email protected]>

* fix unit test for fixed token length and delimiter algorithm

Signed-off-by: yuye-aws <[email protected]>

* implement unit test for string to be chunked in fixed token length and delimiter algorithm

Signed-off-by: yuye-aws <[email protected]>

* update definition for string to be chunked parameter

Signed-off-by: yuye-aws <[email protected]>

* fix text chunking processor ut

Signed-off-by: yuye-aws <[email protected]>

* add string to be chunked count in text chunking processor

Signed-off-by: yuye-aws <[email protected]>

* add string to be chunked count in text chunking processor

Signed-off-by: yuye-aws <[email protected]>

* add more test cases for text chunking processor

Signed-off-by: yuye-aws <[email protected]>

* remove chunker util

Signed-off-by: yuye-aws <[email protected]>

* change chunk limit check in boht algorithms

Signed-off-by: yuye-aws <[email protected]>

* update ut for text chunking processor

Signed-off-by: yuye-aws <[email protected]>

* update parameter name to chunk_string_count

Signed-off-by: yuye-aws <[email protected]>

* run spot less apply

Signed-off-by: yuye-aws <[email protected]>

---------

Signed-off-by: yuye-aws <[email protected]>
(cherry picked from commit 86b70e0)
Copy link
Collaborator

@model-collapse model-collapse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@navneet1v
Copy link
Collaborator

@zane-neo Dco check needs to be fixed.

@model-collapse model-collapse self-requested a review May 1, 2024 00:33
Copy link
Collaborator

@model-collapse model-collapse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@zane-neo zane-neo merged commit 8552a2c into 2.13 May 1, 2024
87 checks passed
@github-actions github-actions bot deleted the backport/backport-717-to-2.13 branch May 1, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants