Meet DataTypeNotSupportException when add bert_as_service output as index. #10713
Answered
by
yhmo
ws719547997
asked this question in
Q&A and General discussion
-
|
Hello everyone, then, when I found the sourec code, it tells me: the 'vec' looks like this, I think it's a np.array, BUT, WHYYYYYYYY ? |
Beta Was this translation helpful? Give feedback.
Answered by
yhmo
Oct 28, 2021
Replies: 1 comment 1 reply
-
|
The insert() requires each field data be a "list of list", even you only insert one row. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ws719547997
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The insert() requires each field data be a "list of list", even you only insert one row.
Call insert() like this:
collection.insert([ [id], [vec] ])