milvus/tests/restful_client
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
..
api test:fix retry for network error (#32804) 2024-05-07 14:01:29 +08:00
base test: add restful client test in ci (#30036) 2024-01-23 21:34:55 +08:00
config [test]Add restful api test (#21336) 2022-12-21 17:47:27 +08:00
testcases feat: fp32 vector to fp16/bf16 vector conversion for RESTful API (#37556) 2024-11-24 17:46:33 +08:00
utils test: add json and array datatype check in restful v1 (#31097) 2024-03-08 10:27:01 +08:00
conftest.py test: add restful client test in ci (#30036) 2024-01-23 21:34:55 +08:00
pytest.ini test: add restful client test in ci (#30036) 2024-01-23 21:34:55 +08:00
README.md [test]Update restful api test (#25581) 2023-08-01 15:43:05 +08:00
requirements.txt test:fix retry for network error (#32804) 2024-05-07 14:01:29 +08:00