ChatLabel
ChatLabel 是一个可审计的标注任务运行器。首个任务配置用于将印尼线路产品工作簿生成分类建议:上传 .xlsx、后台处理、查看进度、检查 WPS 单元格图片部件,并下载写入分类和备注的新工作簿。
自动输出是建议结果。完成图片逐项复核、高风险审计和一致性校验前,不应作为最终业务分类。
文档入口:https://arch.gh.wzhecnu.cn/ChatLabel/
安装与运行
pip install ChatLabel
chatlabel --version
chatlabel --tree
chatlabel serve
配置
ChatLabel 从 ChatEnv 读取名为 apple 的既有 OpenAI profile,也可通过环境变量调整:
| 变量 | 默认值 | 作用 |
|---|---|---|
CHATLABEL_DATA_DIR |
.chatlabel-data |
上传文件与任务状态目录 |
CHATLABEL_CLASSIFIER |
rules |
rules 或 openai-responses |
CHATLABEL_OPENAI_PROFILE |
apple |
要读取的 OpenAI profile |
进程级 OPENAI_* 会覆盖 profile 值。网页配置接口只显示模型、API 地址和“是否有凭据”,不会返回凭据内容。
开发验证
python -m pip install -e ".[dev,docs]"
python -m pytest -q
chatlabel --help
chatlabel --tree
python -m build
mkdocs build --strict
进一步查看:CLI 树、能力地图、Python 接口树。
Metadata
Release files for ChatLabel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatlabel-0.1.0.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatlabel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.8 kB
Release files / chatlabel-0.1.0.tar.gz
| Download URL | chatlabel-0.1.0.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
293b3982b535d6649cb77f4b19719adf8583d979dd339df07095fab7f81e2364
|
|
BLAKE2b-256 checksum How to use checksums |
9eff0c2be7ec6506d4e383b72ea55ab20d2088205289cc94a11ad7ef37cf9ab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / chatlabel-0.1.0-py3-none-any.whl
| Download URL | chatlabel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6239bd69897943913e5d422f076508df725eed7bf0f3382040f6dc08b50d506c
|
|
BLAKE2b-256 checksum How to use checksums |
6c07f795944803e03035d989c86c29d9d144c83d773d0c673dc62e511ed92a39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log