feat: add source-grounded evolution and Ollama assistant
This commit is contained in:
@@ -345,7 +345,11 @@ class VectorFeatureService:
|
||||
"is_estimate": bool(config.get("is_estimate", False)),
|
||||
**({"property": config.get("property")} if config.get("property") else {}),
|
||||
}
|
||||
semantic_metrics = [dict(metric) for metric in SEMANTIC_SELECTION_METRICS.get(theme or "", ())]
|
||||
semantic_metrics = (
|
||||
[]
|
||||
if source_metadata.get("semantic_metrics") is False
|
||||
else [dict(metric) for metric in SEMANTIC_SELECTION_METRICS.get(theme or "", ())]
|
||||
)
|
||||
primary_config = configured_metric
|
||||
if configured_metric["method"] == "feature_count" and semantic_metrics:
|
||||
primary_config = semantic_metrics[0]
|
||||
|
||||
Reference in New Issue
Block a user