{"nodes": [{"id": "$graphify-root$_src_adapters_llm_py", "label": "llm.py", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L1"}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "label": "LLMFallbackAdapter", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L17", "_callable": true, "_callable_class": true}, {"id": "basenlpadapter", "label": "BaseNLPAdapter", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/src/adapters/llm.py"}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter_init", "label": ".__init__()", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter_is_available", "label": ".is_available()", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L30", "_callable": true}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter_evaluate_similarity", "label": ".evaluate_similarity()", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L34", "_callable": true}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "label": ".build_prompt()", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L37", "_callable": true}, {"id": "ecpsnapshot", "label": "ECPSnapshot", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/src/adapters/llm.py"}, {"id": "classificationresult", "label": "ClassificationResult", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/src/adapters/llm.py"}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "label": ".disambiguate()", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L123", "_callable": true}, {"id": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "label": "._parse_llm_response()", "file_type": "code", "source_file": "src/adapters/llm.py", "source_location": "L146", "_callable": true}, {"id": "$graphify-root$_src_adapters_llm_rationale_1", "label": "Optional LLM fallback adapter (Tier 3). Disabled by default. Provides fallback\u2026", "file_type": "rationale", "source_file": "src/adapters/llm.py", "source_location": "L1"}, {"id": "$graphify-root$_src_adapters_llm_rationale_18", "label": "Optional adapter for LLM fallback boundary disambiguation.", "file_type": "rationale", "source_file": "src/adapters/llm.py", "source_location": "L18"}, {"id": "$graphify-root$_src_adapters_llm_rationale_31", "label": "Returns True if an API key or custom provider function is configured.", "file_type": "rationale", "source_file": "src/adapters/llm.py", "source_location": "L31"}, {"id": "$graphify-root$_src_adapters_llm_rationale_40", "label": "Constructs an expert-engineered prompt for multilingual entity inherence\u2026", "file_type": "rationale", "source_file": "src/adapters/llm.py", "source_location": "L40"}, {"id": "$graphify-root$_src_adapters_llm_rationale_129", "label": "Executes LLM fallback for ambiguous boundary cases. Returns a refined\u2026", "file_type": "rationale", "source_file": "src/adapters/llm.py", "source_location": "L129"}, {"id": "$graphify-root$_src_adapters_llm_rationale_151", "label": "Parses and validates structured JSON response from LLM.", "file_type": "rationale", "source_file": "src/adapters/llm.py", "source_location": "L151"}], "edges": [{"source": "$graphify-root$_src_adapters_llm_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_py", "target": "src_adapters_base", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_py", "target": "src_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_py", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L17", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "basenlpadapter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L17", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_is_available", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_evaluate_similarity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L37", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "target": "ecpsnapshot", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L37", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "target": "classificationresult", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L37", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L123", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "target": "ecpsnapshot", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L123", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "target": "classificationresult", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L123", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "target": "classificationresult", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L123", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L146", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "target": "classificationresult", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L146", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "target": "classificationresult", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L146", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_is_available", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L133", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L136", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L141", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "target": "classificationresult", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L180", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_rationale_1", "target": "$graphify-root$_src_adapters_llm_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_rationale_18", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_rationale_31", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_is_available", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L31", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_rationale_40", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_rationale_129", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L129", "weight": 1.0}, {"source": "$graphify-root$_src_adapters_llm_rationale_151", "target": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/adapters/llm.py", "source_location": "L151", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_init", "callee": "get", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L27", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L42", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L45", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L50", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L54", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L55", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L58", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_build_prompt", "callee": "join", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L77", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_disambiguate", "callee": "provider_fn", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L140", "receiver": "self"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "strip", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L154", "receiver": "raw_response"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "startswith", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L155", "receiver": "clean_str"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "startswith", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L157", "receiver": "clean_str"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "endswith", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L159", "receiver": "clean_str"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "strip", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L161", "receiver": "clean_str"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "loads", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L163", "receiver": "json"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "dict", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "src/adapters/llm.py", "source_location": "L164"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "get", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L167", "receiver": "parsed"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "DecisionCategory", "is_member_call": false, "source_file": "src/adapters/llm.py", "source_location": "L171", "receiver": null}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "get", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L172", "receiver": "parsed"}, {"caller_nid": "$graphify-root$_src_adapters_llm_llmfallbackadapter_parse_llm_response", "callee": "get", "is_member_call": true, "source_file": "src/adapters/llm.py", "source_location": "L174", "receiver": "parsed"}]}