You can follow the instructions here to enable this feature.
Vector search for Azure Cosmos DB for NoSQL requires preview feature registration on the Features page of your Azure Cosmos DB . Follow the below steps to register:
Navigate to your Azure Cosmos DB for NoSQL resource page.
Select the "Features" pane under the "Settings" menu item.
Select for “Vector Search in Azure Cosmos DB for NoSQL”.
Read the description of the feature to confirm you want to enroll in the preview.
Select "Enable" to enroll in the preview.