Commit d676abfe authored by 赵威's avatar 赵威

update set key

parent 3cc3b0ca
......@@ -55,7 +55,7 @@ if __name__ == "__main__":
level_dict[content_level].append(id)
embedding_dict[id] = bc.encode([content]).tolist()[0]
redis_client_db.hmset("answer:level_dict", json.dumps(level_dict))
# redis_client_db.hmset("answer:level_dict", json.dumps(level_dict))
tmp_tuple = random.choice(list(embedding_dict.items()))
print(tmp_tuple)
......
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