{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/python reset_pipeline.py --force",
"timeout": 60000,
"description": "Reset pipeline data"
}
}
{
"tool_response": {
"stdout": "==================================================\nPipeline Reset Script\n==================================================\n\nThis will DELETE all:\n - Documents and chunks from MariaDB\n - Embeddings from Qdrant\n - Pipeline runs and queue\n\n[1\/2] Resetting MariaDB...\n Dropping foreign keys...\n Truncating tables...\n - chunk_entities cleared\n - chunk_semantics cleared\n - chunk_taxonomy cleared\n - entity_relations cleared\n - document_entities skipped: Table 'ki_content.document_entities' doesn't exist\n - generated_questions cleared\n - document_knowledge cleared\n - section_knowledge cleared\n - page_knowledge cleared\n - document_pages cleared\n - document_sections cleared\n - document_taxonomy cleared\n - content_sources cleared\n - chunks cleared\n - documents cleared\n - entities skipped: Cannot truncate a table referenced in a foreign key constraint (`ki_content`.`entity_ontology`, CONSTRAINT `entity_ontology_ibfk_2` FOREIGN KEY (`target_entity_id`) REFERENCES `ki_content`.`entities` (`id`))\n - pipeline_queue cleared\n - pipeline_runs cleared\n Recreating foreign keys...\n MariaDB reset complete: 0 documents, 0 chunks, 7 entities\n\n[2\/2] Resetting Qdrant...\n Collection deleted\n Collection recreated\n Qdrant reset complete: 0 points\n\n==================================================\nReset completed with warnings.\n==================================================",
"stderr": "",
"interrupted": false,
"isImage": false
}
}