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

Move chunk id generation to base #258

Merged
merged 2 commits into from Jan 24, 2024

Conversation

izellevy
Copy link
Collaborator

@izellevy izellevy commented Jan 22, 2024

Problem

Every chunker has its own way of creating chunk ids. We should generalise that to prevent discrepancies.

Solution

Created a function in the base and changed all child classes to call that function instead.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Describe specific steps for validating this change.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Collaborator

@igiloh-pinecone igiloh-pinecone left a comment

Choose a reason for hiding this comment

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

LGTM!

@izellevy izellevy added this pull request to the merge queue Jan 24, 2024
Merged via the queue into pinecone-io:main with commit c2334e6 Jan 24, 2024
7 checks passed
@izellevy izellevy deleted the feature/standardize_chunk_ids branch January 24, 2024 14:50
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.

None yet

2 participants