diff --git a/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/RemoteConnectorExecutor.java b/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/RemoteConnectorExecutor.java index 1ccd6f1879..d3f34bcf07 100644 --- a/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/RemoteConnectorExecutor.java +++ b/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/RemoteConnectorExecutor.java @@ -86,7 +86,7 @@ default void executePredict(MLInput mlInput, ActionListener acti * @param textDocsInputDataSet Input dataset in textDocsInputDataSet format. * @return Tuple of chunk size and step size. */ - default Tuple calculateChunkSize(TextDocsInputDataSet textDocsInputDataSet) { + private Tuple calculateChunkSize(TextDocsInputDataSet textDocsInputDataSet) { int textDocsLength = textDocsInputDataSet.getDocs().size(); Map parameters = getConnector().getParameters(); if (parameters != null && parameters.containsKey("input_docs_processed_step_size")) {