Is there an existing issue for this?
Bug summary
The graph-based grounding path in omop_graph.py:641 hardcodes metric_type=MetricType.COSINE regardless of what metric the registered model was actually indexed with.
If a model was indexed with L2, the graph grounding path would query with COSINE on potentially un-normalized vectors.
Code for reproduction
Error messages
Is there an existing issue for this?
Bug summary
The graph-based grounding path in omop_graph.py:641 hardcodes metric_type=MetricType.COSINE regardless of what metric the registered model was actually indexed with.
If a model was indexed with L2, the graph grounding path would query with COSINE on potentially un-normalized vectors.
Code for reproduction
Error messages