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

consolidate advanced chunker notebook #310

Open
wants to merge 3 commits into
base: jwm4-chunking-example-1
Choose a base branch
from

Conversation

vagenas
Copy link
Contributor

@vagenas vagenas commented Nov 11, 2024

Main improvements with this PR:

  • Set chunk.text directly to updated text (including any headings, captions)
  • Add typing
  • switch to list comprehensions where possible
  • encapsulate all methods within new chunker implementation
  • use dataclass instead of unmanaged dictionary
  • list dependencies in setup installation line

Add typing, switch to list comprehensions where possible,
encapsulate all methods within new chunker implementation,
use dataclass instead of unmanged dictionary,
list dependencies in setup installation line

Signed-off-by: Panos Vagenas <[email protected]>
@vagenas vagenas requested a review from jwm4 November 11, 2024 16:23
Copy link
Contributor

@PeterStaar-IBM PeterStaar-IBM left a comment

Choose a reason for hiding this comment

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

lgtm

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.

2 participants