Improve your RAG pipelines for your python repositories.
Project description
It leverages the python programming language syntax to improve:
Chunk content
Relationships between nodes
The chunk size is dynamic:
The content of a function will be put together in the same chunk.
The content of a method will be put together in the same chunk.
Free code will be put together in the same chunk if it is found somewhere in the code.
With code, the relationships parent - child and prev - next are not really usefull, because when defining big projects, there is no particular order in the code itself, so prev-next does not really make sense (only when the definition of the code is really large, for example a big function or big class). It is much more important to know:
If a function in a file X is called in a file Y, when the function of file Y is retrieved the function of file X should be retrieved as well so that the LLM has the complete picture of file Y.
If a method in some class is called somewhere else in the class, it should be noted as well.
These are the kind of relationships that can be obtained to improve the context feeding part for the LLM.
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 rag_pychunk-1.0.4.tar.gz.
File metadata
- Download URL: rag_pychunk-1.0.4.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ef99a0057877412323ced868660fac7630a8b81eb6e4f818fe3b8500cb8c1b6
|
|
| MD5 |
e05d995ee71946f42b517d93c38104b3
|
|
| BLAKE2b-256 |
2e6cdbceec07954b8a00ce043ff308659c887430c72f3417abfed11c3fef8cee
|
File details
Details for the file rag_pychunk-1.0.4-py3-none-any.whl.
File metadata
- Download URL: rag_pychunk-1.0.4-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c649d68a47f0f4d70a0f558db20c0480402cc986dd8d48d91837f277fee16dea
|
|
| MD5 |
e73bfd68a6dc893a1f445e4d21a20f6f
|
|
| BLAKE2b-256 |
36972a4bb62b449fdbe8008de589ceeb28c0472c53a258ff9cfa3fb0422a3d8b
|