Create_vector_search pymongo latest version returns command not found

Thank you for pointinf it out. It was misleading because OP mentioned create_vectore_search, which is actually what I am looking for. I tried to use this command to create a search index of type vector, but it only creates a vector search. Is this even supported (yet) ?

Thank you

        definition={
            "mappings": {
                "fields": [
                    {
                        "type": "vector",
                        "path": "embeddings.scenarios",
                        "numDimensions": SCENARIOS_VECTOR_LENGTH,
                        "similarity": "cosine",
                    }
                ],
            }
        },
        name="scenario_vector_index",
    )

    collection.create_vector_search(search_model)```