The first link shows to create a vector collection...
# community-help
k
The first link shows to create a vector collection and named vector key as "vec", But the second link "main.py" inserting vector field named as "vector".