Skip to main content

馃憪 Create a Vector Search Index

You can create vector search indexes using the Atlas web UI, Atlas CLI, Compass, or any MongoDB driver. We'll create a vector search index using the Python driver.

CODE_BLOCK_7

Answer
collection.create_search_index(model=model)