{"api_version":2,"name":"conet_rag_parse","version":"1.0","role":"transform","type":"sdk","description":"Extracted document text and source metadata.","icon":{"path":"M6 3h9l3 3v15H6zM9 10h6m-6 4h6m-6 4h4"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{"stage":{"type":"string","enum":["parse"],"description":"Selects the implementation of this operator."}},"required":["stage"],"additionalProperties":false},"execution":{"executor":"python","entrypoint":"rag","config":{}},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"source_public":true,"provenance":{"source_archive":{"sha256":"42d9fbad7f58b35bdf26c9a89c6921d990967bd920e2ecf3959b3f90a3ef364b","size":3693,"filename":"conet-rag-sources.zip"},"license":"Apache-2.0"},"documentation":{"inputs":{"source":"UTF-8 JSONL corpus"},"outputs":{"result":"Extracted document text and source metadata"},"parameters":{"stage":{"description":"Selects the implementation of this operator.","help":"Selects the implementation of this operator.","example":"parse"}},"example_job":"name: RAG 文档问答与引用溯源\nsteps:\n- id: read\n  title: 读取语料\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/rag-demo/corpus.jsonl\n    view: bytes\n- id: parse\n  title: 解析文档\n  operator: conet_rag_parse@1.0\n  inputs:\n    source: read:result\n  params:\n    stage: parse\n- id: clean\n  title: 清洗与结构化\n  operator: conet_rag_clean@1.0\n  inputs:\n    source: parse:result\n  params:\n    stage: clean\n- id: chunk\n  title: 划分重叠片段\n  operator: conet_rag_chunk@1.0\n  inputs:\n    source: clean:result\n  params:\n    stage: chunk\n    chunk_size: 240\n    overlap: 40\n- id: index\n  title: 建立关键词索引\n  operator: conet_rag_index@1.0\n  inputs:\n    source: chunk:result\n  params:\n    stage: index\n- id: retrieve\n  title: 检索与重排\n  operator: conet_rag_retrieve@1.0\n  inputs:\n    source: index:result\n  params:\n    stage: retrieve\n    question: 解析、分块和建索引时，RAG 可能怎样丢失信息？\n    top_k: 3\n- id: context\n  title: 组装引用上下文\n  operator: conet_rag_context@1.0\n  inputs:\n    source: retrieve:result\n  params:\n    stage: context\n    question: 解析、分块和建索引时，RAG 可能怎样丢失信息？\n- id: generate\n  title: 生成摘录答案\n  operator: conet_rag_generate@1.0\n  inputs:\n    source: context:result\n  params:\n    stage: generate\n- id: cite\n  title: 核对并附上出处\n  operator: conet_rag_cite@1.0\n  inputs:\n    source: generate:result\n  params:\n    stage: cite\n- id: receive\n  title: 返回结果\n  operator: client_sink@1.0\n  inputs:\n    result: cite:result\n  params: {}\n"},"artifact":{"sha256":"52c4e594cff07a5bffdd32fd9e1e4241f42e4b269550e0b75af8422ba5a954c8","size":10016,"filename":"operator.zip"},"categories":["RAG"],"trust":{"score":3,"assessed_by":"administrator","reviewed_at_ms":1794984281321},"publication":{"author":"dacp-examples","submitted_at_ms":1794984276762,"approved_at_ms":1794984281321,"last_submitted_at_ms":1794984276762,"last_approved_at_ms":1794984281321},"download_count":2}