token统计部分
This commit is contained in:
@@ -14,7 +14,7 @@ config = driver.config
|
||||
|
||||
class TopicIdentifier:
|
||||
def __init__(self):
|
||||
self.llm_topic_judge = LLM_request(model=global_config.llm_topic_judge)
|
||||
self.llm_topic_judge = LLM_request(model=global_config.llm_topic_judge,request_type = 'topic')
|
||||
|
||||
async def identify_topic_llm(self, text: str) -> Optional[List[str]]:
|
||||
"""识别消息主题,返回主题列表"""
|
||||
|
||||
Reference in New Issue
Block a user