4
This commit is contained in:
@@ -1053,7 +1053,13 @@ Make sure each prompt is detailed enough for image generation, describing the vi
|
||||
**kwargs
|
||||
) -> Dict[str, Any]:
|
||||
"""
|
||||
Cluster keywords using AI-based semantic similarity.
|
||||
[DEPRECATED] Cluster keywords using AI-based semantic similarity.
|
||||
|
||||
⚠️ WARNING: This method is deprecated. Use the new AI framework instead:
|
||||
- New path: views.py -> run_ai_task -> AIEngine -> AutoClusterFunction
|
||||
- This method uses the old prompt system and does not use PromptRegistry
|
||||
- Console logging may not work correctly in this path
|
||||
|
||||
Based on reference plugin's clustering prompt.
|
||||
|
||||
Args:
|
||||
@@ -1064,6 +1070,7 @@ Make sure each prompt is detailed enough for image generation, describing the vi
|
||||
Returns:
|
||||
Dict with 'clusters' (list of cluster dicts with name, description, keywords)
|
||||
"""
|
||||
logger.warning("AIProcessor.cluster_keywords is deprecated. Use the new AI framework (AutoClusterFunction) instead.")
|
||||
if not keywords:
|
||||
return {
|
||||
'clusters': [],
|
||||
|
||||
Reference in New Issue
Block a user