Protokoll #4299

ID4299
Zeitstempel2025-12-22 09:44:58.288895
Clientroot
IP145.224.96.190
Modellclaude-sonnet-4-20250514
Statuscompleted
Tokens1,272 (Input: 63, Output: 1,209)
Dauer80 ms
Request-Zeit2025-12-22 09:44:58.288895
Response-Zeit2025-12-22 09:44:58.368677

Request

{
    "event": "PreToolUse",
    "tool_name": "mcp__mcp-db__db_select",
    "tool_input": {
        "query": "SELECT ps.sort_order, ps.step_type, ps.enabled, ps.config \nFROM pipeline_steps ps \nWHERE ps.pipeline_id = 2 \nORDER BY ps.sort_order ASC",
        "database": "ki_content"
    }
}

Response

{
    "tool_response": [
        {
            "type": "text",
            "text": "{\n  \"status\": \"success\",\n  \"data\": [\n    {\n      \"sort_order\": 1,\n      \"step_type\": \"detect\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"formats\\\": [\\\".pdf\\\"], \\\"recursive\\\": true}\"\n    },\n    {\n      \"sort_order\": 2,\n      \"step_type\": \"validate\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"check_readable\\\": true, \\\"min_pages\\\": 1, \\\"max_size_mb\\\": 100}\"\n    },\n    {\n      \"sort_order\": 3,\n      \"step_type\": \"page_split\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"output_format\\\": \\\"png\\\", \\\"dpi\\\": 150, \\\"store_images\\\": true}\"\n    },\n    {\n      \"sort_order\": 4,\n      \"step_type\": \"vision_analyze\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"model\\\": \\\"claude-3-haiku-20240307\\\", \\\"detect_images\\\": true, \\\"detect_charts\\\": true, \\\"detect_tables\\\": true}\"\n    },\n    {\n      \"sort_order\": 5,\n      \"step_type\": \"extract\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"ocr_enabled\\\": true, \\\"ocr_language\\\": \\\"deu\\\", \\\"ocr_for_images\\\": true, \\\"clean_text\\\": true}\"\n    },\n    {\n      \"sort_order\": 6,\n      \"step_type\": \"structure\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"detect_headings\\\": true, \\\"heading_levels\\\": [1, 2, 3], \\\"detect_lists\\\": true, \\\"detect_tables\\\": true}\"\n    },\n    {\n      \"sort_order\": 7,\n      \"step_type\": \"segment\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"by_headings\\\": true, \\\"by_pages\\\": true, \\\"preserve_context\\\": true}\"\n    },\n    {\n      \"sort_order\": 8,\n      \"step_type\": \"chunk\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"max_tokens\\\": 800, \\\"min_tokens\\\": 100, \\\"overlap_percent\\\": 10, \\\"include_page_ref\\\": true}\"\n    },\n    {\n      \"sort_order\": 9,\n      \"step_type\": \"metadata_store\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"store_document\\\": true, \\\"store_pages\\\": true, \\\"store_chunks\\\": true, \\\"store_headings\\\": true}\"\n    },\n    {\n      \"sort_order\": 10,\n      \"step_type\": \"embed\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"model\\\": \\\"mxbai-embed-large\\\", \\\"dimensions\\\": 1024, \\\"batch_size\\\": 10}\"\n    },\n    {\n      \"sort_order\": 11,\n      \"step_type\": \"collection_setup\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"collection\\\": \\\"schulungsunterlagen\\\", \\\"distance\\\": \\\"cosine\\\"}\"\n    },\n    {\n      \"sort_order\": 12,\n      \"step_type\": \"vector_store\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"include_mariadb_id\\\": true, \\\"include_page_number\\\": true, \\\"include_heading_path\\\": true}\"\n    },\n    {\n      \"sort_order\": 13,\n      \"step_type\": \"index_optimize\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"hnsw_ef\\\": 128, \\\"hnsw_m\\\": 16}\"\n    },\n    {\n      \"sort_order\": 14,\n      \"step_type\": \"entity_extract\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"types\\\": [\\\"PERSON\\\", \\\"ORGANIZATION\\\", \\\"CONCEPT\\\", \\\"METHOD\\\", \\\"TOOL\\\"], \\\"model\\\": \\\"claude-3-haiku-20240307\\\", \\\"per_page\\\": true}\"\n    },\n    {\n      \"sort_order\": 15,\n      \"step_type\": \"relation_extract\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"types\\\": [\\\"TEACHES\\\", \\\"REQUIRES\\\", \\\"RELATED_TO\\\", \\\"PART_OF\\\", \\\"EXAMPLE_OF\\\"], \\\"model\\\": \\\"claude-3-haiku-20240307\\\"}\"\n    },\n    {\n      \"sort_order\": 16,\n      \"step_type\": \"taxonomy_build\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"max_depth\\\": 3, \\\"auto_hierarchy\\\": true, \\\"model\\\": \\\"claude-3-haiku-20240307\\\"}\"\n    },\n    {\n      \"sort_order\": 17,\n      \"step_type\": \"semantic_analyze\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"extract_definitions\\\": true, \\\"extract_concepts\\\": true, \\\"keywords\\\": true, \\\"model\\\": \\\"claude-3-haiku-20240307\\\"}\"\n    },\n    {\n      \"sort_order\": 18,\n      \"step_type\": \"summarize\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"per_page\\\": true, \\\"per_document\\\": true, \\\"max_length\\\": 500, \\\"model\\\": \\\"claude-3-haiku-20240307\\\"}\"\n    },\n    {\n      \"sort_order\": 19,\n      \"step_type\": \"question_generate\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"count\\\": 5, \\\"types\\\": [\\\"faktisch\\\", \\\"konzeptuell\\\", \\\"anwendung\\\"], \\\"model\\\": \\\"claude-3-haiku-20240307\\\"}\"\n    },\n    {\n      \"sort_order\": 20,\n      \"step_type\": \"finalize\",\n      \"enabled\": 1,\n      \"config\": \"{\\\"update_status\\\": true, \\\"cleanup_temp\\\": true}\"\n    }\n  ],\n  \"row_count\": 20,\n  \"error\": null,\n  \"execution_ms\": 0\n}"
        }
    ]
}
← Vorheriger Zur Liste Nächster →