File tree Expand file tree Collapse file tree 1 file changed +37
-4
lines changed
Expand file tree Collapse file tree 1 file changed +37
-4
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,48 @@ FS shall delete the relevant json file.
5151
5252For NB, actual deletion will be implemeted in standard "DB Cleaner" BG worker.
5353
54- ### Index
55- TODO - needed for lance POC?
56-
57- ### Vector TODO
54+ ### Vector
5855
5956#### Put
57+ https://docs.aws.amazon.com/AmazonS3/latest/API/API_S3VectorBuckets_PutVectors.html
58+
59+ In Lance:
60+ -Translate vector format from aws to lance.
61+ -Try to get the table:
62+ --If table does not exist, create it with the given vectors
63+ --Otherwise just insert vectors into table.
64+
6065#### List
66+ https://docs.aws.amazon.com/AmazonS3/latest/API/API_S3VectorBuckets_ListVectors.html
67+
68+ In Lance:
69+ -create a Lance query.
70+ -add maxResults as limit to Lance query.
71+ -execute query
72+ -translate vectors format from Lance to aws. Add data or metadata as necessary.
73+
74+ Currently without segments (pagination).
75+
6176#### Query
77+ https://docs.aws.amazon.com/AmazonS3/latest/API/API_S3VectorBuckets_QueryVectors.html
78+
79+ In Lance:
80+ -create a Lance query with the query vector.
81+ -add topK as limit, if present.
82+ -execute query
83+ -translate vector format from Lance to aws
84+
6285#### Delete
86+ https://docs.aws.amazon.com/AmazonS3/latest/API/API_S3VectorBuckets_DeleteVectors.html
87+
88+ In Lance:
89+ -translate keys into Lance "ids in" filter.
90+ -execute delete
91+
92+ ### Index
93+ TODO - needed for lance POC?
94+ ### Tags TODO
95+ ### Policy TODO
6396
6497## Noobaa Middle layer
6598
You can’t perform that action at this time.
0 commit comments