Indexes must be created with a dimension that matches the model’s embedding dimension. The dimension of an index cannot be changed after creation. You will need to create a new index with 1536 dimensions to match OpenAI’s text-embedding-ada-002 model.
I have less dimensions than my index of 1536 and get the following messages {“code”:3,“message”:“Vector dimension 1409 does not match the dimension of the index 1536”,“details”:}
OpenAI text embedding didn’t gave me more than 1409. Should it be possible to add 1409 dementions to an 1536 index database? How?
if your index dimensions are set to 1536 then you can not store vectors of any other dimesion. OpenAi embeddings (if you use the ada model) will always give embeddings with dimension 1536.
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({‘content-type’: ‘application/json’, ‘date’: ‘Sat, 19 Aug 2023 11:10:03 GMT’, ‘x-envoy-upstream-service-time’: ‘1’, ‘content-length’: ‘104’, ‘server’: ‘envoy’})
HTTP response body: {“code”:3,“message”:“Vector dimension 1024 does not match the dimension of the index 1019”,“details”:}
I tried changing dimensions of the index but still I get the same error. Any idea on how to fix this?