PydanticSerializationError: Unable to serialize unknown type: <class 'numpy.int64'> #694
Unanswered
Nevermetyou65
asked this question in
Q&A
Replies: 1 comment
-
Hi @Nevermetyou65 did you manage to solve it? I have the same issue even though mine is a list, it says numpy array. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I tried to upload points to the collection
here is my code
My variable
tmp_dict
is a list of dictionaries obtained from the pandas data frame with.to_dict(orient="records").
I got this error
PydanticSerializationError: Unable to serialize unknown type: <class 'numpy.int64'>
This is confusing because I have already checked the data type for my payload and vector. There is no
numpy.int64
Need help with this
Thanks
Beta Was this translation helpful? Give feedback.
All reactions