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 install
本地测试
# 运行测试
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.1a2.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.1a2.tar.gz.
File metadata
- Download URL: whiskerrag-0.0.1a2.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 |
2874081d34e28f118e2fd359ace46f2c905a83644aadb9d6578548c5ae498142
|
|
| MD5 |
9c9adf6d2ba8bd2b9bceab68263415b6
|
|
| BLAKE2b-256 |
eb3ced76c7d0ef856a56696d2a97653f4f21601b80c937e0d8759dc6f6a20d1d
|
File details
Details for the file whiskerrag-0.0.1a2-py3-none-any.whl.
File metadata
- Download URL: whiskerrag-0.0.1a2-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 |
25b64d381f842507a2f2555094d43d6e172cec53001b62737555c3b4ae39a35f
|
|
| MD5 |
f1248395aa3af7d6e5c18dc0ab460aad
|
|
| BLAKE2b-256 |
94329ac688cf254bf500f1bcdf907e7e6e8194d480cbba66333fffe62cdd1811
|