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

v0.0.1a8 #3

Merged
merged 5 commits into from
Nov 3, 2024
Merged

v0.0.1a8 #3

merged 5 commits into from
Nov 3, 2024

Conversation

bhavnicksm
Copy link
Collaborator

This pull request includes several changes to the project, focusing on setting up workflows for building and publishing Python packages, updating documentation, and restructuring the project directory. Below are the most important changes grouped by theme:

Workflow Setup:

  • Added a GitHub Actions workflow to install Python dependencies, run tests, and lint the code using flake8 and pytest (.github/workflows/python-app.yml).
  • Added a GitHub Actions workflow to upload a Python package to PyPI when a release is created (.github/workflows/python-publish.yml).

Documentation:

  • Updated DOCS.md to include sections on "Design CHONKosophy," "Dependency Table," and "Why Chunking is needed?"

Project Structure:

  • Updated pyproject.toml to change the version from 0.0.1a6 to 0.0.1a8 and restructured the project to use a src directory (pyproject.toml). [1] [2]
  • Renamed chonkie/__init__.py to src/chonkie/__init__.py and updated import statements accordingly (src/chonkie/__init__.py).
  • Added an __init__.py file to the chonkie/chunker directory to manage imports (src/chonkie/chunker/__init__.py).

bhavnicksm and others added 5 commits November 2, 2024 23:06
- Update pyproject.toml to include new package directory and chunker package
- Add chunker module with BaseChunker and TokenChunker classes
- Implement Chunk dataclass for metadata representation
- Move __init__.py content to src/chonkie and src/chonkie/chunker
- Remove old chonkie/__init__.py and chunker/base.py files
@bhavnicksm bhavnicksm merged commit 8a8f2a5 into main Nov 3, 2024
1 check failed
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.

1 participant