1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "label": "commentary_generator.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L1"}, {"id": "commentary_generator_generate_commentary", "label": "generate_commentary()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L19"}, {"id": "commentary_generator_templated_fallback", "label": "_templated_fallback()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L54"}, {"id": "commentary_generator_get_provider", "label": "_get_provider()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L86"}, {"id": "commentary_generator_rationale_1", "label": "AI-generated narrative commentary for financial reports. Takes a report_result", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L1"}, {"id": "commentary_generator_rationale_21", "label": "Generate narrative commentary via LLM. Returns dict per the contract. If no", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L21"}, {"id": "commentary_generator_rationale_55", "label": "No-LLM fallback that produces a basic narrative from the report data.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L55"}, {"id": "commentary_generator_rationale_87", "label": "Look up provider for 'reports_commentary' feature; return None if not configured", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L87"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L13", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L14", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "target": "commentary_generator_generate_commentary", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L19", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "target": "commentary_generator_templated_fallback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L54", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "target": "commentary_generator_get_provider", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L86", "weight": 1.0}, {"source": "commentary_generator_generate_commentary", "target": "commentary_generator_get_provider", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L25", "weight": 1.0}, {"source": "commentary_generator_generate_commentary", "target": "commentary_generator_templated_fallback", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L27", "weight": 1.0}, {"source": "commentary_generator_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_commentary_generator_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L1", "weight": 1.0}, {"source": "commentary_generator_rationale_21", "target": "commentary_generator_generate_commentary", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L21", "weight": 1.0}, {"source": "commentary_generator_rationale_55", "target": "commentary_generator_templated_fallback", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L55", "weight": 1.0}, {"source": "commentary_generator_rationale_87", "target": "commentary_generator_get_provider", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L87", "weight": 1.0}], "raw_calls": [{"caller_nid": "commentary_generator_generate_commentary", "callee": "debug", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L32"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L35"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "complete", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L37"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L43"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "isinstance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L43"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "loads", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L44"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "setdefault", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L47"}, {"caller_nid": "commentary_generator_generate_commentary", "callee": "warning", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L50"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L57"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L58"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L59"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L62"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L63"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L66"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L70"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L74"}, {"caller_nid": "commentary_generator_templated_fallback", "callee": "join", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L79"}, {"caller_nid": "commentary_generator_get_provider", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L88"}, {"caller_nid": "commentary_generator_get_provider", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L89"}, {"caller_nid": "commentary_generator_get_provider", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L91"}, {"caller_nid": "commentary_generator_get_provider", "callee": "startswith", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L99"}, {"caller_nid": "commentary_generator_get_provider", "callee": "OpenAIAdapter", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L100"}, {"caller_nid": "commentary_generator_get_provider", "callee": "startswith", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L101"}, {"caller_nid": "commentary_generator_get_provider", "callee": "ClaudeAdapter", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/commentary_generator.py", "source_location": "L102"}]} |