document-modeling
БесплатноБез исполняемых скриптовНе проверенModel multimodal data with DocArray BaseDoc schemas, predefined documents, DocList, DocVec, nested fields, and typed tensors.
от lza6★ 19 звёзд на GitHubОб этом скилле
DocArray document modeling
Use this sub-skill when a task needs to define, validate, or batch multimodal DocArray data models.
Route here for
- Designing
BaseDocschemas for text, image, audio, video, embeddings, metadata, and nested multimodal payloads. - Choosing predefined document classes such as
TextDocandImageDocversus customBaseDocsubclasses. - Creating dynamic document classes with
create_doc()orcreate_doc_from_dict(). - Choosing
DocListversusDocVecfor streaming, reranking, shuffling, or contiguous ML batch processing. - Modeling nested documents, nested
DocListfields, optional fields, and shape-checkedNdArraytensor fields. - Handling optional Torch, TensorFlow, or JAX tensor type boundaries without claiming those optional backends are verified.
Route elsewhere
- Serialization protocols, protobuf/JSON/bytes/CSV/DataFrame round-trips, file stores, S3, or FastAPI response payloads: use sibling
serialization-storage. - Vector indexes, nearest-neighbor search, document indexes, or external vector database backends: use sibling
vector-indexing.
Read these bundled references
- Start with API reference for verified imports, constructor signatures, core class behavior, and the modeling decision table.
- Use Workflows for task recipes and copyable examples.
- Use Troubleshooting when validation, Pydantic config,
DocList,DocVec, NumPy, or optional tensor backends fail.
Safe bundled helper
Run schema_smoke.py in an environment where DocArray is installed to confirm the main schema, dynamic document, DocList, typed tensor, and optional DocVec paths:
Run these commands from this sub-skill root (the directory containing this SKILL.md):
python scripts/schema_smoke.py --help
python scripts/schema_smoke.py
python scripts/schema_smoke.py --skip-docvec
The verified minimum scope is CPU with DocArray base plus proto, pandas, and web extras. Optional services and tensor frameworks are documented as boundaries, not verified defaults.
Установить document-modeling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл document-modeling?
Model multimodal data with DocArray BaseDoc schemas, predefined documents, DocList, DocVec, nested fields, and typed tensors.
Как установить скилл document-modeling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл document-modeling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic