{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"data\": [\n {\n \"sort_order\": 1,\n \"step_type\": \"detect\",\n \"config\": \"{\\\"formats\\\": [\\\".pdf\\\"], \\\"recursive\\\": true}\"\n },\n {\n \"sort_order\": 2,\n \"step_type\": \"validate\",\n \"config\": \"{\\\"check_readable\\\": true, \\\"min_pages\\\": 1, \\\"max_size_mb\\\": 100}\"\n },\n {\n \"sort_order\": 3,\n \"step_type\": \"page_split\",\n \"config\": \"{\\\"output_format\\\": \\\"png\\\", \\\"dpi\\\": 150, \\\"store_images\\\": true}\"\n },\n {\n \"sort_order\": 4,\n \"step_type\": \"vision_analyze\",\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 \"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 \"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 \"config\": \"{\\\"by_headings\\\": true, \\\"by_pages\\\": true, \\\"preserve_context\\\": true}\"\n },\n {\n \"sort_order\": 8,\n \"step_type\": \"chunk\",\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 \"config\": \"{\\\"store_document\\\": true, \\\"store_pages\\\": true, \\\"store_chunks\\\": true, \\\"store_headings\\\": true}\"\n },\n {\n \"sort_order\": 10,\n \"step_type\": \"embed\",\n \"config\": \"{\\\"model\\\": \\\"mxbai-embed-large\\\", \\\"dimensions\\\": 1024, \\\"batch_size\\\": 10}\"\n },\n {\n \"sort_order\": 11,\n \"step_type\": \"collection_setup\",\n \"config\": \"{\\\"collection\\\": \\\"schulungsunterlagen\\\", \\\"distance\\\": \\\"cosine\\\"}\"\n },\n {\n \"sort_order\": 12,\n \"step_type\": \"vector_store\",\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 \"config\": \"{\\\"hnsw_ef\\\": 128, \\\"hnsw_m\\\": 16}\"\n },\n {\n \"sort_order\": 14,\n \"step_type\": \"knowledge_page\",\n \"config\": \"{\\\"provider\\\": \\\"ollama\\\", \\\"model\\\": \\\"mistral\\\", \\\"extract\\\": [\\\"entity\\\", \\\"semantic\\\", \\\"ontology\\\", \\\"taxonomy\\\"]}\"\n },\n {\n \"sort_order\": 15,\n \"step_type\": \"knowledge_section\",\n \"config\": \"{\\\"provider\\\": \\\"ollama\\\", \\\"model\\\": \\\"mistral\\\", \\\"extract\\\": [\\\"entity\\\", \\\"semantic\\\", \\\"ontology\\\", \\\"taxonomy\\\"]}\"\n },\n {\n \"sort_order\": 16,\n \"step_type\": \"knowledge_document\",\n \"config\": \"{\\\"provider\\\": \\\"ollama\\\", \\\"model\\\": \\\"mistral\\\", \\\"extract\\\": [\\\"entity\\\", \\\"semantic\\\", \\\"ontology\\\", \\\"taxonomy\\\"], \\\"consolidate\\\": true}\"\n },\n {\n \"sort_order\": 17,\n \"step_type\": \"knowledge_validate\",\n \"config\": \"{\\\"provider\\\": \\\"ollama\\\", \\\"model\\\": \\\"mistral\\\", \\\"validate_new\\\": true, \\\"merge_duplicates\\\": true}\"\n },\n {\n \"sort_order\": 18,\n \"step_type\": \"summarize\",\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 \"config\": \"{\\\"count\\\": 5, \\\"types\\\": [\\\"faktisch\\\", \\\"konzeptuell\\\", \\\"anwendung\\\"], \\\"model\\\": \\\"claude-3-haiku-20240307\\\"}\"\n },\n {\n \"sort_order\": 20,\n \"step_type\": \"finalize\",\n \"config\": \"{\\\"update_status\\\": true, \\\"cleanup_temp\\\": true}\"\n }\n ],\n \"row_count\": 20,\n \"error\": null,\n \"execution_ms\": 0\n}"
}
]
}