Commit 8cceaeeb authored by Yaowentong's avatar Yaowentong

减少模型调用

parent 1c725847
...@@ -227,10 +227,10 @@ def cache_get_ai_product_list(taskId, platform, response_content, prompt): ...@@ -227,10 +227,10 @@ def cache_get_ai_product_list(taskId, platform, response_content, prompt):
return ai_brand_list return ai_brand_list
ai_result_search = ai_utils.ai_get_product_list(response_content, prompt) ai_result_search = ai_utils.ai_get_product_list(response_content, prompt)
ai_result = ai_get_product_list_search(ai_result_search) # ai_result = ai_get_product_list_search(ai_result_search)
bh_utils.insert_data("geo_ai_product_list", [{"taskId": taskId, "platform": platform, "ai_brand_list": ai_result}]) bh_utils.insert_data("geo_ai_product_list", [{"taskId": taskId, "platform": platform, "ai_brand_list": ai_result_search}])
return ai_result return ai_result_search
def split_word_rank(ai_word_list, brand_words, com_word_list, all_word_rank_list): def split_word_rank(ai_word_list, brand_words, com_word_list, all_word_rank_list):
......
...@@ -360,6 +360,8 @@ def qianwen_android_process_original_data(task_data): ...@@ -360,6 +360,8 @@ def qianwen_android_process_original_data(task_data):
response_content = response_content.replace("[(deep_think)]", "") response_content = response_content.replace("[(deep_think)]", "")
response_content = response_content.replace("[(multimodal_chat_think_1)]", "") response_content = response_content.replace("[(multimodal_chat_think_1)]", "")
spider_save_tos.process_and_save_files(file_path, search_keyword, url_list, think_content, response_content, spider_save_tos.process_and_save_files(file_path, search_keyword, url_list, think_content, response_content,
suggestions, rich_media_block) suggestions, rich_media_block)
return (file_path, search_keyword, url_list, think_content, response_content, suggestions) return (file_path, search_keyword, url_list, think_content, response_content, suggestions)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment