Hi, is there any reference document or guidance on importing multiple vectors from a dictionary into a collection?
Scenario:
I have a dictionary with key-value pairs in the format string: [vector]
. I need to import these vectors into a collection. For example:
vector = {
"a_vector": strings_map[row["a"]],
"b_vector": strings_map[row["b"]],
"c_vector": strings_map[row["c"]]
}
Here,have a dictionary strings_map with key-value pairs in the format string: [vector]
. I’m mapping specific keys (a
, b
, c
) from a row
object to corresponding vector values from a strings_map
dictionary.
How can I efficiently import such vectors into a collection?