mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
The documented count stayed at 66 while the catalog grew to 68 status-visible services: S3 Vectors (#1435) and IoT Core/IoT Data (#1359) were merged without services-matrix rows, so the Amazon MQ bump (#1642) was applied to an already stale number. Adds the three missing matrix rows, links the existing iot.md page, creates the missing s3vectors.md page, and updates the count in the README, docs/index.md, and docs/services/index.md. 68 is the catalog's status-visible service count, with IoT Core and IoT Data counted separately per the AppConfig/AppConfigData precedent.
1.3 KiB
1.3 KiB
S3 Vectors
Protocol: REST JSON
Endpoint: POST /{OperationName} (e.g. POST /CreateVectorBucket)
Floci emulates the S3 Vectors API: vector buckets, vector indexes, and vector
storage with similarity queries. All operations use the AWS REST JSON wire
shape, so the AWS SDK and CLI s3vectors clients work without modification.
Supported Operations
| Category | Operations |
|---|---|
| Vector buckets | CreateVectorBucket, GetVectorBucket, ListVectorBuckets, DeleteVectorBucket |
| Indexes | CreateIndex, GetIndex, ListIndexes, DeleteIndex |
| Vectors | PutVectors, GetVectors, DeleteVectors, QueryVectors |
Example
aws s3vectors create-vector-bucket --vector-bucket-name my-vectors \
--endpoint-url http://localhost:4566
aws s3vectors create-index --vector-bucket-name my-vectors \
--index-name embeddings --dimension 4 --distance-metric cosine \
--data-type float32 \
--endpoint-url http://localhost:4566
aws s3vectors put-vectors --vector-bucket-name my-vectors --index-name embeddings \
--vectors '[{"key":"a","data":{"float32":[0.1,0.2,0.3,0.4]}}]' \
--endpoint-url http://localhost:4566
aws s3vectors query-vectors --vector-bucket-name my-vectors --index-name embeddings \
--query-vector '{"float32":[0.1,0.2,0.3,0.4]}' --top-k 1 \
--endpoint-url http://localhost:4566