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

Truncate strings exceeding max_length when inserting to Milvus #1665

Merged

Conversation

dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented Apr 24, 2024

Description

  • Adds new helper methods to morpheus.io.utils, cudf_string_cols_exceed_max_bytes and truncate_string_cols_by_bytes
  • When truncate_long_strings=True MilvusVectorDBResourceService will truncate all VARCHAR fields according to the schema's max_length
  • Add truncate_long_strings=True in config for vdb_upload pipeline
  • Set C++ mode to default for example LLM pipelines
  • Remove issues 1650 & 1651 from known_issues.md

Closes #1650
Closes #1651

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

@dagardner-nv dagardner-nv added bug Something isn't working non-breaking Non-breaking change labels Apr 24, 2024
@dagardner-nv dagardner-nv self-assigned this Apr 24, 2024
@dagardner-nv dagardner-nv requested a review from a team as a code owner April 24, 2024 19:03
morpheus/service/vdb/milvus_vector_db_service.py Outdated Show resolved Hide resolved
morpheus/io/utils.py Outdated Show resolved Hide resolved
morpheus/io/utils.py Outdated Show resolved Hide resolved
@dagardner-nv dagardner-nv marked this pull request as draft April 25, 2024 15:37
@dagardner-nv dagardner-nv marked this pull request as ready for review April 25, 2024 18:32
@dagardner-nv dagardner-nv marked this pull request as draft April 25, 2024 18:49
@dagardner-nv dagardner-nv marked this pull request as ready for review April 25, 2024 22:29
@mdemoret-nv mdemoret-nv requested a review from cwharris May 1, 2024 17:38
@mdemoret-nv mdemoret-nv removed the request for review from cwharris May 1, 2024 19:54
@mdemoret-nv
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 57d11a2 into nv-morpheus:branch-24.06 May 1, 2024
17 checks passed
rapids-bot bot pushed a commit that referenced this pull request May 1, 2024
* Optionally strip HTML & XML tags embedded in RSS feeds

Requires PR #1665 to be merged first
Closes #1666

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)
  - Michael Demoret (https://github.com/mdemoret-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1670
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Archived in project
2 participants