-
Notifications
You must be signed in to change notification settings - Fork 138
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 <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
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 <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ryan Bogan <[email protected]>
* Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test Signed-off-by: Ryan Bogan <[email protected]> * Change loop number in edits test Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test again Signed-off-by: Ryan Bogan <[email protected]> * Fix spotless Signed-off-by: Ryan Bogan <[email protected]> * Refactoring Signed-off-by: Ryan Bogan <[email protected]> * Fix typo Signed-off-by: Ryan Bogan <[email protected]> * Remove env vars Signed-off-by: Peter Zhu <[email protected]> * Removing unnecessary comments Signed-off-by: Ryan Bogan <[email protected]> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <[email protected]> * Remove print line Signed-off-by: Ryan Bogan <[email protected]> * Add throttling check Signed-off-by: Ryan Bogan <[email protected]> * Minor change for assert statement Signed-off-by: Ryan Bogan <[email protected]> * Test changes Signed-off-by: Ryan Bogan <[email protected]> * Uncomment delete connector test Signed-off-by: Ryan Bogan <[email protected]> --------- Signed-off-by: Ryan Bogan <[email protected]> Signed-off-by: Peter Zhu <[email protected]> Co-authored-by: Peter Zhu <[email protected]> (cherry picked from commit 3e56ad5)
* Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test Signed-off-by: Ryan Bogan <[email protected]> * Change loop number in edits test Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test again Signed-off-by: Ryan Bogan <[email protected]> * Fix spotless Signed-off-by: Ryan Bogan <[email protected]> * Refactoring Signed-off-by: Ryan Bogan <[email protected]> * Fix typo Signed-off-by: Ryan Bogan <[email protected]> * Remove env vars Signed-off-by: Peter Zhu <[email protected]> * Removing unnecessary comments Signed-off-by: Ryan Bogan <[email protected]> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <[email protected]> * Remove print line Signed-off-by: Ryan Bogan <[email protected]> * Add throttling check Signed-off-by: Ryan Bogan <[email protected]> * Minor change for assert statement Signed-off-by: Ryan Bogan <[email protected]> * Test changes Signed-off-by: Ryan Bogan <[email protected]> * Uncomment delete connector test Signed-off-by: Ryan Bogan <[email protected]> --------- Signed-off-by: Ryan Bogan <[email protected]> Signed-off-by: Peter Zhu <[email protected]> Co-authored-by: Peter Zhu <[email protected]> (cherry picked from commit 3e56ad5) Signed-off-by: Yaliang Wu <[email protected]>
* 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 <[email protected]> Signed-off-by: Peter Zhu <[email protected]> Signed-off-by: Yaliang Wu <[email protected]> Co-authored-by: Ryan Bogan <[email protected]> Co-authored-by: Peter Zhu <[email protected]>
…oject#1073) * Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test Signed-off-by: Ryan Bogan <[email protected]> * Change loop number in edits test Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test again Signed-off-by: Ryan Bogan <[email protected]> * Fix spotless Signed-off-by: Ryan Bogan <[email protected]> * Refactoring Signed-off-by: Ryan Bogan <[email protected]> * Fix typo Signed-off-by: Ryan Bogan <[email protected]> * Remove env vars Signed-off-by: Peter Zhu <[email protected]> * Removing unnecessary comments Signed-off-by: Ryan Bogan <[email protected]> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <[email protected]> * Remove print line Signed-off-by: Ryan Bogan <[email protected]> * Add throttling check Signed-off-by: Ryan Bogan <[email protected]> * Minor change for assert statement Signed-off-by: Ryan Bogan <[email protected]> * Test changes Signed-off-by: Ryan Bogan <[email protected]> * Uncomment delete connector test Signed-off-by: Ryan Bogan <[email protected]> --------- Signed-off-by: Ryan Bogan <[email protected]> Signed-off-by: Peter Zhu <[email protected]> Co-authored-by: Peter Zhu <[email protected]>
* Add remote inference integration tests for OpenAI and Cohere Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test Signed-off-by: Ryan Bogan <[email protected]> * Change loop number in edits test Signed-off-by: Ryan Bogan <[email protected]> * Change edits model test again Signed-off-by: Ryan Bogan <[email protected]> * Fix spotless Signed-off-by: Ryan Bogan <[email protected]> * Refactoring Signed-off-by: Ryan Bogan <[email protected]> * Fix typo Signed-off-by: Ryan Bogan <[email protected]> * Remove env vars Signed-off-by: Peter Zhu <[email protected]> * Removing unnecessary comments Signed-off-by: Ryan Bogan <[email protected]> * Rebase with 2.x and remove set up for master key Signed-off-by: Ryan Bogan <[email protected]> * Remove print line Signed-off-by: Ryan Bogan <[email protected]> * Add throttling check Signed-off-by: Ryan Bogan <[email protected]> * Minor change for assert statement Signed-off-by: Ryan Bogan <[email protected]> * Test changes Signed-off-by: Ryan Bogan <[email protected]> * Uncomment delete connector test Signed-off-by: Ryan Bogan <[email protected]> --------- Signed-off-by: Ryan Bogan <[email protected]> Signed-off-by: Peter Zhu <[email protected]> Co-authored-by: Peter Zhu <[email protected]>
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.