视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
data-ingestion【文档与办公】Build Haystack ingestion flows that construct data classes, convert files/streams into Documents or multimodal message content, clean/split text, route by file/type/metadata, and perform safe fetch/cache checks before indexing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about preparing data before it is written to a document store: constructing Haystack data objects, converting local files or ByteStream payloads, cleaning/splitting documents, routing files/documents by MIME type or metadata, and fetching URL content for conversion.
Route away from this sub-skill when the task is mainly about:
../retrieval-and-rag/SKILL.md.../generation-and-model-components/SKILL.md.ChatMessage data construction: use ../agents-tools-and-hitl/SKILL.md.from haystack import Document; pass content, JSON-serializable meta, optional explicit id, embedding, sparse_embedding, score, or binary blob.ByteStream.from_file_path(path, guess_mime_type=True, meta={...}) or ByteStream.from_string(text, mime_type="text/plain", meta={...}) when a converter/router should carry bytes plus metadata.TextFileToDocument, MarkdownToDocument, PyPDFToDocument, PDFMinerToDocument, HTMLToDocument, DOCXToDocument, PPTXToDocument, XLSXToDocument, CSVToDocument, JSONConverter, or MultiFileConverter.DocumentCleaner; split text with DocumentSplitter; use DocumentPreprocessor when a compact split-then-clean super-component is enough.FileTypeRouter; route converted documents with DocumentTypeRouter, MetadataRouter, or DocumentLengthRouter.LinkContentFetcher into ByteStream objects, then convert the returned streams with a matching converter such as HTMLToDocument.references/data-formats.md.references/workflows.md.references/troubleshooting.md.scripts/ingestion_smoke_check.py."documents", "streams", MIME-type keys, "unclassified", "failed", or "unmatched".file_path, mime_type, source-specific metadata, source_id, page_number, and split_id where applicable.Document.content is None, and metadata-filter syntax.Run the bundled smoke check from the skill root after installing Haystack in any normal Python environment:
python sub-skills/data-ingestion/scripts/ingestion_smoke_check.py