浏览代码

Update user_profile_extractor: change get_extraction_function to static

StrayWarrior 1 周之前
父节点
当前提交
d02c98ff8e
共有 1 个文件被更改,包括 2 次插入1 次删除
  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函数
         """