{
"event": "PostToolUse",
"tool_name": "Grep",
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "knowledge\/utils.py:45: \"SELECT id, text_content FROM document_pages WHERE document_id = %s ORDER BY page_number\",\nknowledge\/utils.py:58: \"SELECT id, content FROM document_sections WHERE document_id = %s ORDER BY sort_order\",\nknowledge\/utils.py:71: \"SELECT GROUP_CONCAT(content SEPARATOR ' ') as full_text FROM chunks WHERE document_id = %s\",\nknowledge\/ontology_extractor.py:111: WHERE source_entity_id = %s AND target_entity_id = %s AND relation_type = %s\"\"\",\nknowledge\/semantic_extractor.py:96: WHERE entity_id = %s AND source_type = %s AND source_id = %s\"\"\",\nknowledge\/semantic_extractor.py:132: cursor = db.execute(\"SELECT name FROM entities WHERE id = %s\", (entity_id,))\ndb.py:136: cursor = self.execute(\"UPDATE chunks SET qdrant_id = %s WHERE id = %s\", (qdrant_id, chunk_id))\ndb.py:379: \"SELECT id FROM entity_synonyms WHERE entity_id = %s AND synonym = %s\",\ndb.py:424: \"SELECT id FROM chunk_taxonomy WHERE chunk_id = %s AND taxonomy_term_id = %s\",\ndb.py:461: WHERE ct.chunk_id = %s\ndb.py:491: \"SELECT id FROM entity_taxonomy_mapping WHERE entity_id = %s AND taxonomy_term_id = %s\",\ndb.py:529: WHERE etm.entity_id = %s\nenrich.py:27: WHERE document_id = %s AND page_number = %s\"\"\",\nenrich.py:160: cursor = db.execute(\"SELECT metadata FROM chunks WHERE id = %s\", (chunk_id,))\nenrich.py:177: db.execute(\"UPDATE chunks SET metadata = %s WHERE id = %s\", (json.dumps(metadata, ensure_ascii=False), chunk_id))\nenrich.py:192: cursor = db.execute(\"\"\"SELECT id, metadata FROM chunks WHERE document_id = %s\"\"\", (document_id,))\nextract.py:274: cursor = db.execute(\"DELETE FROM document_sections WHERE document_id = %s\", (document_id,))\nextract.py:328: \"SELECT id, content FROM chunks WHERE document_id = %s ORDER BY chunk_index\",\nanalyzers\/ontology_classifier.py:95: WHERE c.document_id = %s\nanalyzers\/semantic_analyzer.py:124: cursor = db.execute(\"SELECT id, content FROM chunks WHERE document_id = %s ORDER BY chunk_index\", (document_id,))",
"numLines": 20,
"appliedLimit": 20
}
}