A utility package for RAG operations
Project description
WhiskerRAG-toolkit
petercat、whisker 项目使用的 rag 工具包,提供 rag 相关类型定义和方法
使用方式
pip install whiskerRAG
提供两个模块,分别是 whisker_rag_type、 whisker_rag_util
from whiskerRAG.github.fileLoader import GithubFileLoader
开发指南
安装 poetry 进行依赖管理
pip install poetry
本地测试
# 运行测试
poetry run pytest
# 带覆盖率报告
poetry run pytest --cov
# 查看HTML格式的覆盖率报告
poetry run pytest --cov --cov-report=html
open htmlcov/index.html
构建并发布
poetry build
poetry publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whiskerrag-0.0.1a4.tar.gz
(1.6 kB
view details)
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 whiskerrag-0.0.1a4.tar.gz.
File metadata
- Download URL: whiskerrag-0.0.1a4.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.11 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bef7424631d26f95ee79f32af91e79d4b0bda6c52347d800f6a0d3ef4909d129
|
|
| MD5 |
9758c3e4bc23f07515af84e0afa0873e
|
|
| BLAKE2b-256 |
a85e2e51199316c024e1cb041f89e5a9bf02ec3f150c8d79fe5e64b2af9ee48b
|
File details
Details for the file whiskerrag-0.0.1a4-py3-none-any.whl.
File metadata
- Download URL: whiskerrag-0.0.1a4-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.11 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6563a3d7139f7f9114cf227c8d4267ed4c6609789cbe8998e7b0182dc13cb26c
|
|
| MD5 |
1c4dcc586c110bc6da86e757a90a5b01
|
|
| BLAKE2b-256 |
c9942fbe06ad76bef454ea7b236a40b923a052351f951e82ef56b67f032cee59
|