first commit
This commit is contained in:
@@ -0,0 +1,307 @@
|
||||
{
|
||||
"schema": "component_local_subgraph_prompt_input_v1",
|
||||
"diagnostic_stage": "group_internal_part_check",
|
||||
"knowledge_scope": "part_knowledge",
|
||||
"flow_boundary": "Assembly group-internal part checking: functional-group checking has already run; only part/feature units are allowed and only the part-design knowledge library is used.",
|
||||
"evidence_files": {
|
||||
"directory": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5",
|
||||
"manifest": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\manifest.json",
|
||||
"target_component": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\target_component.json",
|
||||
"target_brep": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\target_brep.json",
|
||||
"assembly_relations": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\assembly_relations.json",
|
||||
"functional_group_context": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\functional_group_context.json",
|
||||
"component_function_profile": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\component_function_profile.json",
|
||||
"images": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\images.json",
|
||||
"neighbor_details_directory": "D:\\CSharpProjects\\agent4\\runtime\\2\\component_evidence\\component_5\\neighbors",
|
||||
"included_neighbor_detail_files": []
|
||||
},
|
||||
"component_function_profile_input": {
|
||||
"component_id": "component_5",
|
||||
"component_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1",
|
||||
"display_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1 (CSG-20-160-2A-SP_C_8_WG1044040-MHC)",
|
||||
"functional_block_id": "unclassified_components",
|
||||
"part_role": "general mechanical part; local function must be inferred from B-rep, images, and direct relations.",
|
||||
"main_interfaces": [],
|
||||
"confidence": "low",
|
||||
"evidence": [
|
||||
"component name",
|
||||
"direct contact/mate graph",
|
||||
"component degree"
|
||||
],
|
||||
"instance_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1",
|
||||
"usage_policy": "This function portrait must be read in every part-level LLM call before judging faces/features. Use it to decide functional faces, processing necessity, access, support, locating, sealing, guiding, transmission, fastening, and non-functional surfaces.",
|
||||
"source": "assembly_component_function_profile_generated_before_functional_group_split"
|
||||
},
|
||||
"diagnostic_context": {
|
||||
"policy": "Function-block context and selected inspection cards guide local evidence extraction only. They are not direct violation judgements.",
|
||||
"user_product_description": "这个是人形机器人机械臂的肘关节,通过大臂小臂连接件进行连接大臂和小臂,然后电机用于驱动",
|
||||
"user_purchased_component_hints": [
|
||||
"小臂关节装配2"
|
||||
],
|
||||
"functional_block": {
|
||||
"block_id": "unclassified_components",
|
||||
"name": "unclassified_components",
|
||||
"function": "No stable functional block was inferred from local evidence.",
|
||||
"component_ids": [
|
||||
"component_1",
|
||||
"component_10",
|
||||
"component_11",
|
||||
"component_12",
|
||||
"component_13",
|
||||
"component_14",
|
||||
"component_15",
|
||||
"component_16",
|
||||
"component_17",
|
||||
"component_18",
|
||||
"component_19",
|
||||
"component_2",
|
||||
"component_20",
|
||||
"component_21",
|
||||
"component_22",
|
||||
"component_23",
|
||||
"component_24",
|
||||
"component_25",
|
||||
"component_26",
|
||||
"component_27",
|
||||
"component_28",
|
||||
"component_29",
|
||||
"component_3",
|
||||
"component_30",
|
||||
"component_31",
|
||||
"component_32",
|
||||
"component_33",
|
||||
"component_34",
|
||||
"component_35",
|
||||
"component_36",
|
||||
"component_37",
|
||||
"component_38",
|
||||
"component_4",
|
||||
"component_40",
|
||||
"component_41",
|
||||
"component_42",
|
||||
"component_5",
|
||||
"component_6",
|
||||
"component_7",
|
||||
"component_8",
|
||||
"component_9"
|
||||
],
|
||||
"confidence": "low"
|
||||
},
|
||||
"part_function_profile": {
|
||||
"component_id": "component_5",
|
||||
"component_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1",
|
||||
"display_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1 (CSG-20-160-2A-SP_C_8_WG1044040-MHC)",
|
||||
"functional_block_id": "unclassified_components",
|
||||
"part_role": "general mechanical part; local function must be inferred from B-rep, images, and direct relations.",
|
||||
"main_interfaces": [],
|
||||
"confidence": "low",
|
||||
"evidence": [
|
||||
"component name",
|
||||
"direct contact/mate graph",
|
||||
"component degree"
|
||||
]
|
||||
},
|
||||
"precomputed_component_function_profile": null,
|
||||
"functional_group_context": {
|
||||
"schema": "component_functional_group_context_v1",
|
||||
"selection_policy": "No functional-group relationship context has been assigned.",
|
||||
"usage_policy": "No group-level relation evidence is available for this component.",
|
||||
"groups": []
|
||||
},
|
||||
"matched_inspection_cards": [
|
||||
{
|
||||
"score": 1,
|
||||
"Dto": {
|
||||
"rule_id": "18.4.8",
|
||||
"title": "避免不必要的补充加工",
|
||||
"knowledge_category": "machining_manufacturing_process",
|
||||
"primary_view": "operation_process_economy",
|
||||
"scope_type": "local_feature",
|
||||
"scout_retrieval_sentence": "检查与该知识相关的模型事实,重点观察machined_feature_candidate、functional_role_evidence、supplementary_operation_indicator,用于侦察“避免不必要的补充加工”相关风险。",
|
||||
"trigger_signature": {
|
||||
"keywords": [
|
||||
"avoid_unnecessary_supplementary_machining",
|
||||
"functional_role_evidence",
|
||||
"machined_feature_candidate",
|
||||
"supplementary_operation_indicator",
|
||||
"加工",
|
||||
"要的补充",
|
||||
"避免不必"
|
||||
],
|
||||
"feature_patterns": [
|
||||
"general_mechanical_feature"
|
||||
],
|
||||
"source_pattern": "avoid_unnecessary_supplementary_machining"
|
||||
},
|
||||
"required_evidence": [
|
||||
"machined_feature_candidate",
|
||||
"functional_role_evidence",
|
||||
"supplementary_operation_indicator"
|
||||
],
|
||||
"inspection_prompt": "Check local structure around '避免不必要的补充加工'. Verify required evidence first: machined_feature_candidate, functional_role_evidence, supplementary_operation_indicator. Before judgement, compare against: 若加工特征无明确装配、定位、密封、运动或精度功能,仅为非必要外形,则判为补充加工风险。",
|
||||
"negative_checks": [
|
||||
"若该特征可由毛坯直接形成或确有功能/安全/装配要求,则通过。"
|
||||
],
|
||||
"unknown_if_missing": [
|
||||
"only_title_or_ocr_text_without_geometry",
|
||||
"no_feature_role_inference",
|
||||
"ambiguous image panel order",
|
||||
"missing_process_or_precision_requirement_when_rule_depends_on_tolerance"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"evidence_policy": {
|
||||
"selection": "exact_by_component_instance_and_explicit_ids",
|
||||
"truncation": "none",
|
||||
"storage": "component-scoped evidence directory",
|
||||
"target_face_selection": "ComponentEvidencePackage.FaceRefs matched against AssemblyFaces as '<ComponentName>:face#<FaceIndex>'; falls back to same component only when FaceRefs is empty.",
|
||||
"target_feature_selection": "ComponentEvidencePackage.FeatureIds matched against FeatureGraph.Features; falls back to same component only when FeatureIds is empty.",
|
||||
"target_relation_selection": "ComponentEvidencePackage.ContactIds/MateIds matched exactly; falls back to direct same-component relation scan only when ids are empty.",
|
||||
"functional_group_selection": "Functional-group diagnostics are generated before this component prompt. Here functional_group_context is read-only background context and must not produce functional_group/interface units.",
|
||||
"part_check_extraction": "Part-level checking may use component-local B-rep faces/features from the initial extraction, but image evidence is restricted to functional_group_all_face_highlight images generated after functional-group split. Do not use initial extraction images or part_check reused images.",
|
||||
"neighbor_first_round": "summary_only",
|
||||
"neighbor_enrichment": "only when AI returns neighbor_detail_request.needs_neighbor_detail=true"
|
||||
},
|
||||
"counts": {
|
||||
"target_features": 0,
|
||||
"target_faces": 0,
|
||||
"direct_contacts": 0,
|
||||
"direct_mates": 0,
|
||||
"functional_groups": 0,
|
||||
"available_target_images": 0,
|
||||
"adjacent_components": 0
|
||||
},
|
||||
"feature_batch": {
|
||||
"batch_id": "",
|
||||
"batch_index": 0,
|
||||
"batch_count": 0,
|
||||
"batch_feature_ids": [],
|
||||
"coverage_policy": "Mandatory. Every target_features item in this batch must produce one local_semantic_units item and one linked local_subgraphs item."
|
||||
},
|
||||
"task": "Generate part/feature-level diagnostic subgraphs directly for one component instance after functional-group checking has completed. Do not generate a global mechanical semantic graph or functional-group/interface units.",
|
||||
"output_contract": {
|
||||
"diagnostic_stage": "group_internal_part_check",
|
||||
"knowledge_scope": "part_knowledge",
|
||||
"allowed_anchor_types": [
|
||||
"part",
|
||||
"feature"
|
||||
],
|
||||
"forbidden_anchor_types": [
|
||||
"interface",
|
||||
"functional_group"
|
||||
],
|
||||
"downstream_knowledge_library": "part-design knowledge library only"
|
||||
},
|
||||
"target_component": {
|
||||
"Id": "component_5",
|
||||
"InstanceName": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1",
|
||||
"DisplayName": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1 (CSG-20-160-2A-SP_C_8_WG1044040-MHC)",
|
||||
"FileName": "CSG-20-160-2A-SP_C_8_WG1044040-MHC.sldasm",
|
||||
"Path": "D:\\Desktop\\新建文件夹\\毕设\\建模\\小臂谐波减速器\\CSG-20-160-2A-SP_C_8_WG1044040-MHC.sldasm",
|
||||
"Category": "unknown",
|
||||
"ReviewScope": "part_design_required",
|
||||
"BodyCount": 0,
|
||||
"FaceCount": 0,
|
||||
"CylinderFaceCount": 0,
|
||||
"BBoxMm": [
|
||||
-147.523,
|
||||
-110.723,
|
||||
5.326,
|
||||
-49.375,
|
||||
-78.523,
|
||||
103.474
|
||||
]
|
||||
},
|
||||
"target_component_brep_package": {
|
||||
"ComponentId": "component_5",
|
||||
"InstanceName": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1",
|
||||
"DisplayName": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1 (CSG-20-160-2A-SP_C_8_WG1044040-MHC)",
|
||||
"FileName": "CSG-20-160-2A-SP_C_8_WG1044040-MHC.sldasm",
|
||||
"Path": "D:\\Desktop\\新建文件夹\\毕设\\建模\\小臂谐波减速器\\CSG-20-160-2A-SP_C_8_WG1044040-MHC.sldasm",
|
||||
"Category": "unknown",
|
||||
"ReviewScope": "part_design_required",
|
||||
"BrepSource": "assembly_component_brep_subset",
|
||||
"ImageSource": "component_part_file_images_planned_and_assembly_component_highlight_images_planned",
|
||||
"PartImagePlanId": "part_image_component_5",
|
||||
"AssemblyContextImagePlanId": "assembly_context_highlight_component_5",
|
||||
"FaceRefs": [],
|
||||
"FeatureIds": [],
|
||||
"ContactIds": [],
|
||||
"MateIds": [],
|
||||
"BodyCount": 0,
|
||||
"FaceCount": 0,
|
||||
"CylinderFaceCount": 0,
|
||||
"BBoxMm": [
|
||||
-147.523,
|
||||
-110.723,
|
||||
5.326,
|
||||
-49.375,
|
||||
-78.523,
|
||||
103.474
|
||||
],
|
||||
"Rules": [
|
||||
"This package is the only B-rep/feature/contact/mate evidence package for this component instance.",
|
||||
"Do not merge faces, features, or images from another component unless a relation/contact/mate id explicitly links them.",
|
||||
"For part-design diagnosis, use this assembly-derived B-rep subset plus the matching PartImagePlan images."
|
||||
]
|
||||
},
|
||||
"functional_group_context": {
|
||||
"schema": "component_functional_group_context_v1",
|
||||
"selection_policy": "No functional-group relationship context has been assigned.",
|
||||
"usage_policy": "No group-level relation evidence is available for this component.",
|
||||
"groups": []
|
||||
},
|
||||
"target_part_check_evidence": {
|
||||
"component_id": "component_5",
|
||||
"instance_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1",
|
||||
"display_name": "小臂关节装配2-1/CSG-20-160-2A-SP_C_8_WG1044040-MHC-1 (CSG-20-160-2A-SP_C_8_WG1044040-MHC)",
|
||||
"component_path": "D:\\Desktop\\新建文件夹\\毕设\\建模\\小臂谐波减速器\\CSG-20-160-2A-SP_C_8_WG1044040-MHC.sldasm",
|
||||
"status": "ok",
|
||||
"message": "Part-check evidence was reused from the initial assembly extraction. No per-component B-rep extraction was executed.",
|
||||
"output_dir": "D:\\CSharpProjects\\agent4\\runtime\\2\\part_check_extractions\\component_5",
|
||||
"source_assembly_report_path": "D:\\CSharpProjects\\agent4\\runtime\\2\\extractions\\primary_y\\section_brep_report.json",
|
||||
"evidence_path": "D:\\CSharpProjects\\agent4\\runtime\\2\\part_check_extractions\\component_5\\reused_part_check_evidence.json",
|
||||
"image_namespace": "part_check_extractions/component_5/reused_image_refs",
|
||||
"source_image_namespace": "extractions/primary_y/model_images",
|
||||
"reuse_policy": "Logical part-check evidence is separated in this manifest, but B-rep and images are filtered from the first extraction result.",
|
||||
"feature_graph": {
|
||||
"schema": "reused_component_feature_graph_subset_v1",
|
||||
"source": "initial_assembly_extraction.FeatureGraph",
|
||||
"features": [],
|
||||
"relations": []
|
||||
},
|
||||
"faces": [],
|
||||
"counts": {
|
||||
"features": 0,
|
||||
"faces": 0,
|
||||
"image_views": 0
|
||||
},
|
||||
"image_policy": "All initial extraction images and part_check reused images are excluded from the post-functional-group part-level checking stage. Use available_target_images with image_kind=functional_group_all_face_highlight only."
|
||||
},
|
||||
"target_features": [],
|
||||
"target_faces": [],
|
||||
"target_part_image_plan": {
|
||||
"excluded": true,
|
||||
"reason": "Use only functional_group_all_face_highlight images in this post-functional-group part-level stage."
|
||||
},
|
||||
"target_context_image_plans": [],
|
||||
"available_target_images": [],
|
||||
"direct_contact_relations": [],
|
||||
"direct_mate_relations": [],
|
||||
"adjacent_component_summaries": [],
|
||||
"neighbor_detail_policy": {
|
||||
"first_round_rule": "Use only target component B-rep, functional_group_all_face_highlight images, direct contacts/mates as part context, and adjacent summaries.",
|
||||
"must_ask_each_round": "Always output neighbor_detail_request. If a subgraph depends on neighbor geometry, set needs_neighbor_detail=true and list required component_ids.",
|
||||
"allowed_reasons": [
|
||||
"mating face geometry",
|
||||
"motion pair",
|
||||
"occlusion/access path",
|
||||
"installation clearance",
|
||||
"coaxial relation",
|
||||
"support/locating relation"
|
||||
]
|
||||
},
|
||||
"neighbor_details": null
|
||||
}
|
||||
Reference in New Issue
Block a user