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.1a7.tar.gz (7.7 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.1a7-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: whiskerrag-0.0.1a7.tar.gz
  • Upload date:
  • Size: 7.7 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.1a7.tar.gz
Algorithm Hash digest
SHA256 64d7aed10538561d416441e3d897c43e2f474bd6ae22b85ed64d26627feedb5b
MD5 f188db66d14078ca0710409390a4398a
BLAKE2b-256 af92e1a31aecf7d08644f3fe648af47f182dee3bda6f24b42e7f96539b569d4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whiskerrag-0.0.1a7-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.1a7-py3-none-any.whl
Algorithm Hash digest
SHA256 35450c5b135d1461553374621d07764b08e331eb18ec0ef34216fd2dc695e8f7
MD5 1d42d9f061654c2b4044276a1fbf161e
BLAKE2b-256 5c4ee70dcee36c5236f21769416ba76ea68ccc246036cea44235c3f96e7d646d

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