Files
Odoo-Modules/graphify-out/cache/8f2cfdd3225d4c2fc92b9d81346cea40ba364bb0ad59a95cd88c14c99664dffa.json
gsinghpal 41d0908ade changes
2026-04-24 21:04:38 -04:00

1 line
22 KiB
JSON

{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "label": "client_chat.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L1"}, {"id": "client_chat_fusionclientchatsession", "label": "FusionClientChatSession", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L14"}, {"id": "client_chat_fusionclientchatsession_action_send_message", "label": ".action_send_message()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L41"}, {"id": "client_chat_fusionclientchatsession_generate_ai_response", "label": "._generate_ai_response()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L80"}, {"id": "client_chat_fusionclientchatsession_generate_local_response", "label": "._generate_local_response()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L139"}, {"id": "client_chat_fusionclientchatsession_build_system_prompt", "label": "._build_system_prompt()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L238"}, {"id": "client_chat_fusionclientchatsession_build_data_context", "label": "._build_data_context()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L271"}, {"id": "client_chat_fusionclientchatmessage", "label": "FusionClientChatMessage", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L334"}, {"id": "client_chat_rationale_42", "label": "Process user message and generate AI response.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L42"}, {"id": "client_chat_rationale_81", "label": "Generate an AI-powered response to the user question. Uses OpenAI API t", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L81"}, {"id": "client_chat_rationale_140", "label": "Generate a response without AI, using direct database queries. This is", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L140"}, {"id": "client_chat_rationale_239", "label": "Build the system prompt for the AI.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L239"}, {"id": "client_chat_rationale_272", "label": "Query relevant data based on the question to provide context to AI.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L272"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "target": "odoo_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L9", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "target": "client_chat_fusionclientchatsession", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L14", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession", "target": "client_chat_fusionclientchatsession_action_send_message", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L41", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession", "target": "client_chat_fusionclientchatsession_generate_ai_response", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L80", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession", "target": "client_chat_fusionclientchatsession_generate_local_response", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L139", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession", "target": "client_chat_fusionclientchatsession_build_system_prompt", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L238", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession", "target": "client_chat_fusionclientchatsession_build_data_context", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L271", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_claims_models_client_chat_py", "target": "client_chat_fusionclientchatmessage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L334", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession_action_send_message", "target": "client_chat_fusionclientchatsession_generate_ai_response", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L58", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession_generate_ai_response", "target": "client_chat_fusionclientchatsession_generate_local_response", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L89", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession_generate_ai_response", "target": "client_chat_fusionclientchatsession_build_data_context", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L94", "weight": 1.0}, {"source": "client_chat_fusionclientchatsession_generate_ai_response", "target": "client_chat_fusionclientchatsession_build_system_prompt", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L97", "weight": 1.0}, {"source": "client_chat_rationale_42", "target": "client_chat_fusionclientchatsession_action_send_message", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L42", "weight": 1.0}, {"source": "client_chat_rationale_81", "target": "client_chat_fusionclientchatsession_generate_ai_response", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L81", "weight": 1.0}, {"source": "client_chat_rationale_140", "target": "client_chat_fusionclientchatsession_generate_local_response", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L140", "weight": 1.0}, {"source": "client_chat_rationale_239", "target": "client_chat_fusionclientchatsession_build_system_prompt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L239", "weight": 1.0}, {"source": "client_chat_rationale_272", "target": "client_chat_fusionclientchatsession_build_data_context", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L272", "weight": 1.0}], "raw_calls": [{"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "ensure_one", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L43"}, {"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "strip", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L44"}, {"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "strip", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L47"}, {"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L50"}, {"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "exception", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L60"}, {"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L61"}, {"caller_nid": "client_chat_fusionclientchatsession_action_send_message", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L64"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L86"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L87"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L91"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "sorted", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L103"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L105"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L111"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "post", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L116"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "raise_for_status", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L130"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "json", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L131"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_ai_response", "callee": "warning", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L136"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L144"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L151"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L157"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L158"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L159"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L160"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L161"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L162"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L163"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L163"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L164"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L165"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L168"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L170"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "dict", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L170"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L173"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L182"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L184"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "join", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L191"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L194"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L195"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "split", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L206"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L207"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L209"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "isupper", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L209"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L210"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L220"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L222"}, {"caller_nid": "client_chat_fusionclientchatsession_generate_local_response", "callee": "join", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L226"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L273"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L282"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L290"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L297"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L299"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "dumps", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L299"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L305"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L306"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "strip", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L311"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L313"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "dumps", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L313"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L316"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L317"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "read_group", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L321"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L327"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L329"}, {"caller_nid": "client_chat_fusionclientchatsession_build_data_context", "callee": "join", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_claims/models/client_chat.py", "source_location": "L331"}]}