Commit 15eae5ee8da07d937e9b9e9b951c144435ead015

Authored by tangwang
1 parent b401ef94

add image_embedding_512

Showing 1 changed file with 14 additions and 0 deletions   Show diff stats
mappings/search_products.json
... ... @@ -144,6 +144,20 @@
144 144 }
145 145 }
146 146 },
  147 + "image_embedding_512": {
  148 + "type": "nested",
  149 + "properties": {
  150 + "vector": {
  151 + "type": "dense_vector",
  152 + "dims": 512,
  153 + "index": true,
  154 + "similarity": "dot_product"
  155 + },
  156 + "url": {
  157 + "type": "text"
  158 + }
  159 + }
  160 + },
147 161 "category_path_zh": {
148 162 "type": "text",
149 163 "analyzer": "hanlp_index",
... ...