ml-commons
ml-commons copied to clipboard
ml-commons provides a set of common machine learning algorithms, e.g. k-means, or linear regression, to help developers build ML related features within OpenSearch.
### Description Amazon Bedrock introduced Rerank model support. OpenSearch can invoke Rerank models on Bedrock by writing custom pre/post processing function, but pre-built function is good for performance. This PR...
### Description Add more logs to troubleshot flaky test ### Related Issues https://github.com/opensearch-project/ml-commons/issues/3347 ### Check List - [ ] New functionality includes testing. - [ ] New functionality has been...
**What is the bug?** saw this flaky test in many PR throwing ConcurrentModificationException testPredictionWithSearchInput_LogisticRegression **How can one reproduce the bug?** 2> REPRODUCE WITH: ./gradlew ':opensearch-ml-plugin:test' --tests "org.opensearch.ml.action.prediction.PredictionITTests.testPredictionWithDataFrame_LinearRegression" -Dtests.seed=F80C5CAF7767D1EF -Dtests.security.manager=false -Dtests.locale=fr-GA...
**Is your feature request related to a problem?** ``` > Task :opensearch-ml-common:compileTestJava Note: Recompile with -Xlint:deprecation for details. Note: D:\a\ml-commons\ml-commons\common\src\test\java\org\opensearch\ml\common\utils\StringUtilsTest.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for...
**What is the bug?** When predict a ml model, even if the connector payload is filled, I still receives the error from model interface. ``` { "error": { "root_cause": [...
**Is your feature request related to a problem?** Summary The EncryptorImpl class is responsible for encrypting and decrypting text using a tenant-specific master key. It relies on the initMasterKey method...
**Is your feature request related to a problem?** We use both concepts `interaction` and `message` in the implementation that causes some confusion when using memory or agents. We should deprecate...
### Description Adds integration tests for multitenancy. The test classes were squashed and cherry-picked from #2818. ~Presently the search model and search agent calls are commented out, as `MLSearchHandler` and...
### Description Recently we got a security test case failure for `testPredictWithReadOnlyMLAccess` that is caused by the pr https://github.com/opensearch-project/ml-commons/pull/3597. Basically we have model index reading before transport call in which...