Skip to main content

๐Ÿ‘ Create a vector search index

To retrieve documents using vector search, you must configure a vector search index on the collection you want to perform vector search against.

Fill in any <CODE_BLOCK_N> placeholders and run the cells under the Step 3: Create a vector search index section in the notebook to create a vector search index.

The answers for code blocks in this section are as follows:

CODE_BLOCK_1

Answer
create_index(vs_collection, VS_INDEX_NAME, model)