Skip to content

Vector Field vectorSearchConfiguration property not set / InvalidField issue #5

@cagrimunyas

Description

@cagrimunyas

In the Azure OpenAI Cognitive Search Vector Search sample, creating a field for vectors is simply adding the following field:

  SearchField(
      name="contentVector",
      type=SearchFieldDataType.Collection(SearchFieldDataType.Single),
      searchable=True,
      vector_search_dimensions=1536,
      vector_search_configuration="my-vector-config",
  )

However, in this syntax the InvalidField error is raised
The vector field 'contentVector' must have the property 'vectorSearchConfiguration' set. Parameters: definition

Also tried changing vector_search_configuration name to vectorSearchConfiguration. The same error is still raised.

Cognitive Search SDK version :
azure-search-documents==11.4.0b11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions