`most_similar_to_given()` is an instance method; it must be called on a specific preexisting instance of `KeyedVectors`, not a class. For example, if `my_vectors` is some `KeyedVectors` instance, and `some_vector_keys` are the lookup keys for vectors already in it (*not* vectors themselves), then:
my_vecs.most_similar_to_given(entity1=query_key, entities_list=some_vector_keys)
my_vecs = Word2VecKeyedVectors(vector_size=2)
my_vecs.add(some_vector_keys, some_vector_list)
(Of course once you have this subset, you can just use a normal `most_similar()` – no need for the `most_similar_to_given()` variant.)
- Gordon