Skip to content

Commit

Permalink
HCK-7393: add a polyglot adapter for vector data type (#115)
Browse files Browse the repository at this point in the history
* HCK-7393: add a polyglot adapter for vector data type

* HCK-7393: disable normalization for vector data type
  • Loading branch information
serhii-filonenko authored Aug 7, 2024
1 parent 38b55fc commit 69ffdc0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions polyglot/adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,24 @@
"synonym": ""
}
},
{
"from": {
"type": "vector",
"subtype": "vector<int>"
},
"to": {
"subtype": "vector<int8>"
}
},
{
"from": {
"type": "vector",
"subtype": "vector<float>"
},
"to": {
"subtype": "vector<float32>"
}
},
[
"renameBlockItemProperties",
{
Expand Down
1 change: 1 addition & 0 deletions types/vector.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"parentType": "array",
"useSample": false,
"hiddenOnEntity": "view",
"restrictNormalization": true,
"defaultValues": {
"subtype": "",
"properties": []
Expand Down

0 comments on commit 69ffdc0

Please sign in to comment.