| 1 |
- {"nodes": [{"id": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "label": "openai_service.py", "file_type": "code", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L1"}, {"id": "openai_service_openai_service_get_relevant_context", "label": "get_relevant_context()", "file_type": "code", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L19"}, {"id": "openai_service_openai_service_generate_completion", "label": "generate_completion()", "file_type": "code", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L38"}, {"id": "openai_service_openai_service_admin_completion", "label": "admin_completion()", "file_type": "code", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L121"}, {"id": "openai_service_openai_service_rationale_123", "label": "Generate OpenAI admin completion", "file_type": "rationale", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L123"}], "edges": [{"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L1", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L2", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L3", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "openai", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L4", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "logging", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L5", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "rapidfuzz", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L6", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "config_settings", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L9", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "models_user", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L10", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "services_data_service", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L11", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "services_openai_service_openai_tools", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L12", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "openai_service_openai_service_get_relevant_context", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L19", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "openai_service_openai_service_generate_completion", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L38", "weight": 1.0}, {"source": "home_superti_workspace_pedidos_express_pedidos_express_server_services_openai_service_openai_service_py", "target": "openai_service_openai_service_admin_completion", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L121", "weight": 1.0}, {"source": "openai_service_openai_service_generate_completion", "target": "openai_service_openai_service_get_relevant_context", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L48", "weight": 1.0}, {"source": "openai_service_openai_service_rationale_123", "target": "openai_service_openai_service_admin_completion", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L123", "weight": 1.0}], "raw_calls": [{"caller_nid": "openai_service_openai_service_get_relevant_context", "callee": "extract", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L27"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "HTTPException", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L40"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "get", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L43"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "get", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L70"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "get", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L70"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "append", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L71"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "create", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L75"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "info", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L87"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "append", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L90"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "loads", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L96"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "tools[function_name]", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L97"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "append", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L100"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "str", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L103"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "warning", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L106"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "create", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L109"}, {"caller_nid": "openai_service_openai_service_generate_completion", "callee": "error", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L118"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "list", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L125"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "map", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L125"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "get", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L125"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "get", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L125"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "error", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L130"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "HTTPException", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L132"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "create", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L138"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "error", "is_member_call": true, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L168"}, {"caller_nid": "openai_service_openai_service_admin_completion", "callee": "HTTPException", "is_member_call": false, "source_file": "/home/superti/workspace/pedidos_express/pedidos_express_server/services/openai_service/openai_service.py", "source_location": "L170"}]}
|