[Enhancement]: infer_dtype_bydata
can not infer DataType.ARRAY
#2165
Labels
kind/enhancement
New feature or request
infer_dtype_bydata
can not infer DataType.ARRAY
#2165
Is there an existing issue for this?
What would you like to be added?
I have tried some examples, and
infer_dtype_bydata
can not infer DataType.ARRAY from any type of array-like data. Maybe pymilvus should offer a function to infer a ARRAY datatype, as well as the element type within the array.Why is this needed?
Because someone want to use this function to infer ARRAY type from metadata in Langchain.
https://github.com/langchain-ai/langchain/pull/23219/files#diff-e5632024b6ba1822184894603c61d3abe15be32464c94feaf805e4af6061730cR419
In the past, we can use
infer_dtype_bydata
to infer any types such asFLOAT_VECTOR
. However, this failed when infering ARRAY dataAnything else?
No response
The text was updated successfully, but these errors were encountered: