Skip to main content

A utility package for RAG operations

Project description

WhiskerRAG-toolkit

petercat、whisker 项目使用的 rag 工具包,提供 rag 相关类型定义和方法

使用方式

pip install whiskerRAG

提供两个模块,分别是 whiskerrag_utils 和 whiskerrag_types

from whiskerrag_utils.github.fileLoader import GithubFileLoader
from whiskerrag_types.interface import DBPluginInterface
from whiskerrag_types.model import Knowledge, Task, Tenant, PageParams, PageResponse

开发指南

安装 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.1a15.tar.gz (8.8 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.1a15-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: whiskerrag-0.0.1a15.tar.gz
  • Upload date:
  • Size: 8.8 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.1a15.tar.gz
Algorithm Hash digest
SHA256 ccc3614dfcee5e341e6f6fcfd0aa41406648b22ad2229fde6d8251d3729131d4
MD5 787732d2ac7c8d64782072b2215cefc1
BLAKE2b-256 19f40cca46d78ea052479efea2d7d81198bf3e065b96a87c4c5867560e4d6e0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whiskerrag-0.0.1a15-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.1a15-py3-none-any.whl
Algorithm Hash digest
SHA256 2dcbe4263e237537d6340135522b57cdb4a62cf392781fa1b6368ead94426ece
MD5 8e5f47c6a0f31680011d3a94590968f0
BLAKE2b-256 55e0bbcb89fb882d3cea746a738f6698c84121775df66f4c8bc5ba201f6e683d

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