Open davidgilbertson opened 2 months ago
@gdj0nes could you look at this? Agreed the dimension
parameter doesn't seem to do anything, and looks like this was in the initial Pinecone embedding integration here: #24515
@davidgilbertson thanks for raising the issue. The model multilingual-e5-large
does not support variable dimensions. We'll look into how to better do error handling in these cases.
Checked other resources
Example Code
This will raise an exception:
Error Message and Stack Trace (if applicable)
No response
Description
I see that you have some tests here, but the tests use the default embedding of
1024
, so don't catch the fact that it doesn't work for any other dimension.I suspect if you change that line in the test to
DIMENSION=333
or something the tests will fail.System Info
Windows, Python 3.10