No project description provided
Project description
AGENTIC CHUNKER
Installation
pip install agentic-chunker
Usage
from agentic_chunker import AgenticChunker
import markdown
import os
file_path = "test_files/pronoun_dep.md"
api_key = os.environ.get('OPENAI_APIKEY')
with open(file_path, 'r', encoding='utf-8') as f:
md_content = f.read()
text = markdown.markdown(md_content)
chunker = AgenticChunker(api_key=api_key, model="gpt-4o-mini")
chunks = chunker.agentic_chunking(text, '.')
Dependencies
- openai
Contributing
Contributions to AgenticChunker are welcome! Please make sure to follow the code style and conventions used in the project. If you have any suggestions or improvements, feel free to open an issue or submit a pull request.
License
This project is licensed under the GPL-3.0 .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_chunker-0.0.3.tar.gz.
File metadata
- Download URL: agentic_chunker-0.0.3.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c49917445d4ec264b9eecb2b1774b2f880be8cb653ed1bebb1083505a15862dd
|
|
| MD5 |
763bbdee34c562015a88aab85a7538df
|
|
| BLAKE2b-256 |
f2892d38bfe0d203a0793b84aa37a21ce131eb3a4cab9c53a9c03ad4e1e51c12
|
File details
Details for the file agentic_chunker-0.0.3-py3-none-any.whl.
File metadata
- Download URL: agentic_chunker-0.0.3-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0493394fa5a45b5d4cb803013bea5bc2f9120b29f30ec0d33dbf7524fe6b8e48
|
|
| MD5 |
4c01b8e3cfdb3a47a6e97517eba792c7
|
|
| BLAKE2b-256 |
91ef063951ad7a6e86d13d204cd5721943a532acd66680f09308000e69968bfe
|