Files
tfm_ainventory/graphify-out/cache/b0d7d53d60fafbe310189a21f676b0826578458c386dcb7840ad57536f7fcc5a.json

1 line
14 KiB
JSON

{"nodes": [{"id": "backend_routers_admin_ai_config_py", "label": "ai_config.py", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L1"}, {"id": "ai_config_get_ai_prompt", "label": "get_ai_prompt()", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L18"}, {"id": "ai_config_update_ai_prompt", "label": "update_ai_prompt()", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L37"}, {"id": "ai_config_get_ai_config", "label": "get_ai_config()", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L65"}, {"id": "ai_config_update_ai_keys", "label": "update_ai_keys()", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L101"}, {"id": "ai_config_test_ai_key", "label": "test_ai_key()", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L130"}, {"id": "ai_config_update_ai_provider", "label": "update_ai_provider()", "file_type": "code", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L163"}, {"id": "ai_config_rationale_22", "label": "Get the current AI extraction prompt.", "file_type": "rationale", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L22"}, {"id": "ai_config_rationale_42", "label": "Update the AI extraction prompt.", "file_type": "rationale", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L42"}, {"id": "ai_config_rationale_69", "label": "Check AI provider status and active provider.", "file_type": "rationale", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L69"}, {"id": "ai_config_rationale_134", "label": "Test AI API key connectivity.", "file_type": "rationale", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L134"}, {"id": "ai_config_rationale_168", "label": "Update the active AI provider.", "file_type": "rationale", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L168"}], "edges": [{"source": "backend_routers_admin_ai_config_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "backend_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "backend_database_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "backend_config_manager_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "ai_config_get_ai_prompt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "ai_config_update_ai_prompt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L37", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "ai_config_get_ai_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "ai_config_update_ai_keys", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L101", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "ai_config_test_ai_key", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L130", "weight": 1.0}, {"source": "backend_routers_admin_ai_config_py", "target": "ai_config_update_ai_provider", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L163", "weight": 1.0}, {"source": "ai_config_rationale_22", "target": "ai_config_get_ai_prompt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L22", "weight": 1.0}, {"source": "ai_config_rationale_42", "target": "ai_config_update_ai_prompt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L42", "weight": 1.0}, {"source": "ai_config_rationale_69", "target": "ai_config_get_ai_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L69", "weight": 1.0}, {"source": "ai_config_rationale_134", "target": "ai_config_test_ai_key", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L134", "weight": 1.0}, {"source": "ai_config_rationale_168", "target": "ai_config_update_ai_provider", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L168", "weight": 1.0}], "raw_calls": [{"caller_nid": "ai_config_get_ai_prompt", "callee": "exists", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L23"}, {"caller_nid": "ai_config_get_ai_prompt", "callee": "open", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L25"}, {"caller_nid": "ai_config_get_ai_prompt", "callee": "strip", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L26"}, {"caller_nid": "ai_config_get_ai_prompt", "callee": "read", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L26"}, {"caller_nid": "ai_config_get_ai_prompt", "callee": "first", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L30"}, {"caller_nid": "ai_config_get_ai_prompt", "callee": "filter", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L30"}, {"caller_nid": "ai_config_get_ai_prompt", "callee": "query", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L30"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L43"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "HTTPException", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L45"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "makedirs", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L48"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "dirname", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L48"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "open", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L49"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "write", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L50"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "first", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L54"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "filter", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L54"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "query", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L54"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "add", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L58"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "SystemSetting", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L58"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "commit", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L60"}, {"caller_nid": "ai_config_update_ai_prompt", "callee": "exists", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L61"}, {"caller_nid": "ai_config_get_ai_config", "callee": "get_config", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L70"}, {"caller_nid": "ai_config_get_ai_config", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L71"}, {"caller_nid": "ai_config_get_ai_config", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L73"}, {"caller_nid": "ai_config_get_ai_config", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L74"}, {"caller_nid": "ai_config_get_ai_config", "callee": "first", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L76"}, {"caller_nid": "ai_config_get_ai_config", "callee": "filter", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L76"}, {"caller_nid": "ai_config_get_ai_config", "callee": "query", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L76"}, {"caller_nid": "ai_config_get_ai_config", "callee": "bool", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L85"}, {"caller_nid": "ai_config_get_ai_config", "callee": "get_masked_key", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L87"}, {"caller_nid": "ai_config_get_ai_config", "callee": "bool", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L92"}, {"caller_nid": "ai_config_get_ai_config", "callee": "get_masked_key", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L94"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L106"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L107"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "update_keys", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L116"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "get_config", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L119"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L120"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "bool", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L124"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L124"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "bool", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L125"}, {"caller_nid": "ai_config_update_ai_keys", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L125"}, {"caller_nid": "ai_config_test_ai_key", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L135"}, {"caller_nid": "ai_config_test_ai_key", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L136"}, {"caller_nid": "ai_config_test_ai_key", "callee": "HTTPException", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L139"}, {"caller_nid": "ai_config_test_ai_key", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L142"}, {"caller_nid": "ai_config_test_ai_key", "callee": "HTTPException", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L145"}, {"caller_nid": "ai_config_test_ai_key", "callee": "Client", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L150"}, {"caller_nid": "ai_config_test_ai_key", "callee": "list", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L151"}, {"caller_nid": "ai_config_test_ai_key", "callee": "Anthropic", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L155"}, {"caller_nid": "ai_config_test_ai_key", "callee": "list", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L156"}, {"caller_nid": "ai_config_test_ai_key", "callee": "HTTPException", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L159"}, {"caller_nid": "ai_config_test_ai_key", "callee": "capitalize", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L159"}, {"caller_nid": "ai_config_test_ai_key", "callee": "str", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L159"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "get", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L169"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "HTTPException", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L171"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "first", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L173"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "filter", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L173"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "query", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L173"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "add", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L177"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "SystemSetting", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L177"}, {"caller_nid": "ai_config_update_ai_provider", "callee": "commit", "source_file": "backend/routers/admin/ai_config.py", "source_location": "L179"}]}