backend
Work with Open-Assistant FastAPI backend, shared schemas/API client, task lifecycle, settings, and OA JSONL data utilities.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- backend
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Work with Open-Assistant FastAPI backend, shared schemas/API client, task lifecycle, settings, and OA JSONL data utilities.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/api-reference.md16.8 KB
- 参考文档references/data-formats.md10.3 KB
- 参考文档references/troubleshooting.md10.5 KB
- 参考文档references/workflows.md12.4 KB
03 SKILL.md 正文
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
- FastAPI endpoints, task lifecycle, API client, shared protocol models, or API errors: read
references/api-reference.md. - OA JSONL messages, trees, traversal, filtering, flattening, or dataset splitting: read
references/data-formats.mdand usescripts/oasst_jsonl_tool.pyfor safe local file operations. - Local backend stack,
.envsettings, DB/Redis prerequisites, uvicorn, Celery workers, Alembic, and DB export/import behavior: readreferences/workflows.md. - Backend troubleshooting: read
references/troubleshooting.mdbefore retrying service startup, task submission, cursor pagination, auth, or JSONL parsing.
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
websitesub-skill. - Route inference server, inference worker, model config, websocket/SSE chat serving, and safety-server work to the
inferencesub-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.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.