界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

backend

backend

【数据与研究】Work with Open-Assistant FastAPI backend, shared schemas/API client, task lifecycle, settings, and OA JSONL data utilities.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: backend description: "Work with Open-Assistant FastAPI backend, shared schemas/API client, task lifecycle, settings, and OA JSONL data utilities." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Open-Assistant backend sub-skill

Use this sub-skill when a user asks about Open-Assistant's REST backend, Python shared protocol schemas, the asynchronous Python API client, task lifecycle, backend settings, local backend development services, or OA JSONL import/export/data utilities.

Route the request

Quick safe checks

These bundled scripts do not start a server, connect to a database, download models, train, deploy, or mutate a database:

python scripts/check_backend_python.py --repo-root <repo-root>
python scripts/check_backend_python.py --repo-root <repo-root> --openapi
python scripts/oasst_jsonl_tool.py inspect data.jsonl.gz
python scripts/oasst_jsonl_tool.py tree-to-messages trees.jsonl.gz messages.jsonl.gz

Use explicit file arguments for JSONL writes. Existing output files are not overwritten unless --overwrite is passed.

Boundaries

  • Route Next.js pages, Cypress, frontend API wrappers, localization, and chat UI component work to the website sub-skill.
  • Route inference server, inference worker, model config, websocket/SSE chat serving, and safety-server work to the inference sub-skill.
  • Model training/evaluation/pretokenizer workflows and production deployment/Ansible are intentionally excluded from this generated skill run.
  • Do not run DB-mutating import, purge, delete, or merge operations unless the user explicitly asks for them, confirms the target database, and has a rollback/backup plan.
我的收藏