Skip to main content

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.1a3.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whiskerrag-0.0.1a3-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file whiskerrag-0.0.1a3.tar.gz.

File metadata

  • Download URL: whiskerrag-0.0.1a3.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

Hashes for whiskerrag-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 980a2d54978e4a1b6fc0212d3b60ca566cf62b01da8dab2d1cd453ecbb0fa470
MD5 0d30414957b1ad4f6aca15dd3f0e7625
BLAKE2b-256 523d518ba0f486b209d1cbc8327fdeccfd96d12ae290618a5c0a680ca1257c94

See more details on using hashes here.

File details

Details for the file whiskerrag-0.0.1a3-py3-none-any.whl.

File metadata

  • Download URL: whiskerrag-0.0.1a3-py3-none-any.whl
  • Upload date:
  • Size: 2.0 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

Hashes for whiskerrag-0.0.1a3-py3-none-any.whl
Algorithm Hash digest
SHA256 32f6c54aec9cac0c88c7006caf8d54970e8f5749da03b421c0ea836ea1300c92
MD5 2d9235ee57f5a510f12b477ec4328c16
BLAKE2b-256 e76fb04c1059f917d2c5b259a214d25ae898d9c77daac56ce3d728b7bd8e0d53

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page