milvus/tests/restful_client/testcases
Yinzuo Jiang 5a06faca39
feat: fp32 vector to fp16/bf16 vector conversion for RESTful API (#37556)
RESTful API. The influenced API are as follows:

- Handler. insert
- HandlerV1. insert/upsert
- HandlerV2. insert/upsert/search

We do not modify search API in Handler/HandlerV1 because they do not
support fp16/bf16 vectors.

module github.com/milvus-io/milvus/pkg:

Add `Float32ArrayToBFloat16Bytes()`, `Float32ArrayToFloat16Bytes()` and
`Float32ArrayToBytes()`. These method will be used in GoSDK in the
future.

issue: #37448

Signed-off-by: Yinzuo Jiang <yinzuo.jiang@zilliz.com>
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
2024-11-24 17:46:33 +08:00
..
test_collection_operations.py test: add restful client test in ci (#30036) 2024-01-23 21:34:55 +08:00
test_restful_sdk_mix_use_scenario.py feat: fp32 vector to fp16/bf16 vector conversion for RESTful API (#37556) 2024-11-24 17:46:33 +08:00
test_vector_operations.py fix: some error in restful (#37487) 2024-11-13 17:12:39 +08:00