I'm defining an index with multiple fields, including a "contentVector" field for vector data. However, I'm encountering a specific error, and I'm not sure how to correctly set the "vectorSearchConfiguration" property for the "contentVector" field.
I've tried to configure the "vectorSearchConfiguration" property, but I'm unsure of the correct way to do it. Can someone please guide me on how to properly set the "vectorSearchConfiguration" for the "contentVector" field?
Code snippet and the error-
SearchField(name="contentVector", type=SearchFieldDataType.Collection(SearchFieldDataType.Single),
searchable=True, vector_search_dimensions=1536,
vector_search_configuration='my-vector-config')
raise HttpResponseError(response=response, model=error) azure.core.exceptions.HttpResponseError: (InvalidRequestParameter) The request is invalid. Details: definition : The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Code: InvalidRequestParameter Message: The request is invalid. Details: definition : The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Exception Details: (InvalidField) The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Parameters: definition Code: InvalidField Message: The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Parameters: definition
azure.core.exceptions.HttpResponseError: (InvalidRequestParameter) The request is invalid. Details: definition : The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set.
Code: InvalidRequestParameter
Message: The request is invalid. Details: definition : The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set.
Exception Details: (InvalidField) The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Parameters: definition
Code: InvalidField
Message: The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Parameters: definition