Using AI Search vector index in chat playground fails

Michael Johansen 0 Reputation points
2025-01-08T17:14:59.14+00:00

I have deployed a GPT4-32k model in ai.azure.com.
As the AI Search Service does not yet have a web site import function I have made an Azure Table with id, title, content and url and pasted static web site data from our company website into data rows.
I then used Import and vectorize to create a vector index.

When I try to use the index in Chat Playground I get this error:

"An error occurred when calling Azure Cognitive Search: Azure Search Error: 400, message='Server responded with status 400. Error message: {"error":{"code":"InvalidRequestParameter","message":"There's a mismatch in vector dimensions. The vector field 'text_vector', with dimension of '1024', expects a length of '1024'. However, the provided vector has a length of '1536'. Please ensure that the vector length matches the expected length of the vector field."

I have read the the documentation and tried to re-create the index but I cannot see how to change the dimensions so it fits.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,167 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,071 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 1,755 Reputation points Microsoft Vendor
    2025-01-13T11:19:21.14+00:00

    Hi @Michael Johansen
    I Apologize for the continuous issue that you have regarding the vector dimensions of your index. ensure that the Chat Playground is using the latest version of the index schema. It is possible that the issue is with the GPT4-32k model not generating vectors of the correct length.  I would recommend reaching out to Azure support

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.