|
@@ -326,7 +326,7 @@ async def search_videos(params, trace_id, gh_id, mysql_client):
|
|
|
)
|
|
|
print(json.dumps(recall_list, ensure_ascii=False, indent=4))
|
|
|
# 按照标题相似度排序
|
|
|
- ranked_list = title_similarity_rank(content_title=content_title, recall_list=recall_list)
|
|
|
+ ranked_list = title_similarity_rank(content_title=params['title'].split("@@")[-1], recall_list=recall_list)
|
|
|
|
|
|
print(json.dumps(ranked_list, ensure_ascii=False, indent=4))
|
|
|
# index = 0
|