Quellcode durchsuchen

Update user_profile_extractor: change get_extraction_function to static

StrayWarrior vor 1 Woche
Ursprung
Commit
d02c98ff8e
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      user_profile_extractor.py

+ 2 - 1
user_profile_extractor.py

@@ -20,7 +20,8 @@ class UserProfileExtractor:
         )
         self.model_name = chat_service.VOLCENGINE_MODEL_DEEPSEEK_V3
 
-    def get_extraction_function(self) -> Dict:
+    @staticmethod
+    def get_extraction_function() -> Dict:
         """
         定义用于用户画像信息提取的Function Calling函数
         """