-
Notifications
You must be signed in to change notification settings - Fork 143
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
Add integration tests for the remote inference feature #1073
Add integration tests for the remote inference feature #1073
Conversation
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Take a look at the failed cases?
|
Those are expected failures until the keys are added to GitHub secrets on the ml-commons repository |
Got it , thanks. Who will help add the keys to Github secrets? |
It has to be someone with admin permissions on the repository. |
I am adding the key sections to the github workflows after talking to @ryanbogan and @ylwu-amzn offline and make required change in their accounts. |
Remove dco.yml as it is replaced by dco apps already. |
51d9f25
to
e2d28f5
Compare
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
* Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change loop number in edits test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test again Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix spotless Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Refactoring Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix typo Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove env vars Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Removing unnecessary comments Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove print line Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Add throttling check Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Minor change for assert statement Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Test changes Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Uncomment delete connector test Signed-off-by: Ryan Bogan <rbogan@amazon.com> --------- Signed-off-by: Ryan Bogan <rbogan@amazon.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: Peter Zhu <zhujiaxi@amazon.com> (cherry picked from commit 3e56ad5)
* Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change loop number in edits test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test again Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix spotless Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Refactoring Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix typo Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove env vars Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Removing unnecessary comments Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove print line Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Add throttling check Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Minor change for assert statement Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Test changes Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Uncomment delete connector test Signed-off-by: Ryan Bogan <rbogan@amazon.com> --------- Signed-off-by: Ryan Bogan <rbogan@amazon.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: Peter Zhu <zhujiaxi@amazon.com> (cherry picked from commit 3e56ad5) Signed-off-by: Yaliang Wu <ylwu@amazon.com>
* Add remote inference integration tests for OpenAI and Cohere * Change edits model test * Change loop number in edits test * Change edits model test again * Fix spotless * Refactoring * Fix typo * Remove env vars * Removing unnecessary comments * Rebase with 2.x and remove set up for master key * Remove print line * Add throttling check * Minor change for assert statement * Test changes * Uncomment delete connector test --------- (cherry picked from commit 3e56ad5) Signed-off-by: Ryan Bogan <rbogan@amazon.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Signed-off-by: Yaliang Wu <ylwu@amazon.com> Co-authored-by: Ryan Bogan <10944539+ryanbogan@users.noreply.github.com> Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
…oject#1073) * Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change loop number in edits test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test again Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix spotless Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Refactoring Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix typo Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove env vars Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Removing unnecessary comments Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove print line Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Add throttling check Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Minor change for assert statement Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Test changes Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Uncomment delete connector test Signed-off-by: Ryan Bogan <rbogan@amazon.com> --------- Signed-off-by: Ryan Bogan <rbogan@amazon.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
* Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change loop number in edits test Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Change edits model test again Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix spotless Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Refactoring Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix typo Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove env vars Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Removing unnecessary comments Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Remove print line Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Add throttling check Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Minor change for assert statement Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Test changes Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Uncomment delete connector test Signed-off-by: Ryan Bogan <rbogan@amazon.com> --------- Signed-off-by: Ryan Bogan <rbogan@amazon.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
Description
Adds integration tests for the remote inference feature
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.