breadarr/graphify-out/cache/ast/v0.9.32/38ee2f95ced88c05a56112b169fc6dcfc66911f2cc442ba968a497a93907b920.json
2026-08-03 09:35:47 +08:00

1 line
No EOL
7.2 KiB
JSON

{"nodes": [{"id": "$graphify-root$_breadarrd_src_matcher_embed_rs", "label": "embed.rs", "file_type": "code", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L1"}, {"id": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder", "label": "OrtEmbedder", "file_type": "code", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L12"}, {"id": "embeddingsession", "label": "EmbeddingSession", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/breadarrd/src/matcher/embed.rs"}, {"id": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_load", "label": ".load()", "file_type": "code", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L21"}, {"id": "path", "label": "Path", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/breadarrd/src/matcher/embed.rs"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/breadarrd/src/matcher/embed.rs"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/breadarrd/src/matcher/embed.rs"}, {"id": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_embed", "label": ".embed()", "file_type": "code", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L26"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/breadarrd/src/matcher/embed.rs"}, {"id": "$graphify-root$_breadarrd_src_matcher_embed_cosine_similarity_of_identical_unit_vectors_is_one", "label": "cosine_similarity_of_identical_unit_vectors_is_one()", "file_type": "code", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L38"}, {"id": "$graphify-root$_breadarrd_src_matcher_embed_cosine_similarity_of_orthogonal_vectors_is_zero", "label": "cosine_similarity_of_orthogonal_vectors_is_zero()", "file_type": "code", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L45"}], "edges": [{"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "path", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "result", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "embeddingsession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "provider", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder", "target": "embeddingsession", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L13", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder", "target": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_load", "relation": "method", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_load", "target": "path", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L21", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_load", "target": "path", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L21", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_load", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L21", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_load", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L21", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder", "target": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_embed", "relation": "method", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_embed", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L26", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_embed", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L26", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "cosine_similarity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L31", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "super", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L35", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "$graphify-root$_breadarrd_src_matcher_embed_cosine_similarity_of_identical_unit_vectors_is_one", "relation": "contains", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L38", "weight": 1.0}, {"source": "$graphify-root$_breadarrd_src_matcher_embed_rs", "target": "$graphify-root$_breadarrd_src_matcher_embed_cosine_similarity_of_orthogonal_vectors_is_zero", "relation": "contains", "confidence": "EXTRACTED", "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L45", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_breadarrd_src_matcher_embed_ortembedder_embed", "callee": "embed", "is_member_call": true, "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L27"}, {"caller_nid": "$graphify-root$_breadarrd_src_matcher_embed_cosine_similarity_of_identical_unit_vectors_is_one", "callee": "cosine_similarity", "is_member_call": false, "source_file": "breadarrd/src/matcher/embed.rs", "source_location": "L40"}]}