Commit b33120f5 authored by 赵威's avatar 赵威

update tags number

parent fb8d0a68
......@@ -21,7 +21,7 @@ TAG_EMBEDDING_DICT = redis_client_db.hgetall("personas_tags_embedding")
def match_tractate_by_device(device_id, n=10):
try:
time_begin = time.time()
business_tags = get_user_portrait_tag3_from_redis(device_id, tags_num=5).get("business_tags", [])
business_tags = get_user_portrait_tag3_from_redis(device_id, tags_num=4).get("business_tags", [])
# business_tags = ["假体下巴", "你好", "假体隆胸"]
res = []
vectors = []
......
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