添加搜索节点

This commit is contained in:
2025-12-23 01:07:30 +08:00
parent 9b283d2f72
commit de45b88225
4 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import random
# 生成1536 8位随机向量
def generate_random_vector(dim=1536):
return [round(random.uniform(-1, 1), 8) for _ in range(dim)]
data = [generate_random_vector() for _ in range(1000)]
print(data[0])