-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from Elasticsearch YAML tests to client tests #2667
Conversation
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
There were three different problems: * Elasticsearch automatically applied certain index_options that were missing * Two tests were using FakeEmbeddings instead of ConsistentFakeEmbeddings * One test used [1, ..., 1, i] with i going from 0 to 2. Making it going from 1 to 3 allowed the cosine similarity to work as expected.
@pquentin yes, I would keep the version checks for a while, in case we want to run the test suite locally. |
(cherry picked from commit 596e7ca)
(cherry picked from commit 596e7ca)
This is mostly adapted from the Elasticsearch Serverless tests that already do this.
@miguelgrinberg This also bumps the tested version of Elasticsearch to 8.16. How do you want to handle the vector store tests? Do we keep the conditionals just in case we want to run those tests with 8.13 in the future?