This commit is contained in:
2025-08-19 07:45:15 +08:00
parent fa53b79d4e
commit 268f1f4172
5 changed files with 109 additions and 192 deletions

View File

@@ -21,7 +21,7 @@ mapping = {
"properties": {
"embedding": {
"type": "dense_vector",
"dims": 200, # embedding维度为200
"dims": 1024, # embedding维度为1024
"index": True,
"similarity": "l2_norm" # 使用L2距离
},