{
"event": "PostToolUse",
"tool_name": "Read",
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/scripts\/pipeline\/chat.py",
"content": " return {\"question\": question, \"answer\": answer, \"sources\": sources, \"chunks_used\": len(results)}\n\n\ndef interactive_mode():\n \"\"\"Run interactive chat session.\"\"\"\n print(\"=\" * 60)\n print(\"RAG-Chat - Systemisches Teamcoaching\")\n print(\"=\" * 60)\n print(\"Frage stellen oder 'quit' zum Beenden\\n\")\n\n while True:\n try:\n question = input(\"Du: \").strip()\n\n if not question:\n continue\n if question.lower() in [\"quit\", \"exit\", \"q\"]:\n print(\"Auf Wiedersehen!\")\n break\n",
"numLines": 20,
"startLine": 155,
"totalLines": 221
}
}
}