Skip to content

Commit aeec397

Browse files
Fix parameter documentation for modelId in OpenShift AI service settings classes
1 parent e9fbce7 commit aeec397

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/openshiftai/OpenShiftAiServiceSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected OpenShiftAiServiceSettings(StreamInput in) throws IOException {
5151
/**
5252
* Constructs a new OpenShiftAiServiceSettings.
5353
*
54-
* @param modelId the ID of the modelId
54+
* @param modelId the ID of the model
5555
* @param uri the URI of the service
5656
* @param rateLimitSettings the rate limit settings for the service
5757
*/

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/openshiftai/completion/OpenShiftAiChatCompletionServiceSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public OpenShiftAiChatCompletionServiceSettings(StreamInput in) throws IOExcepti
7575
/**
7676
* Constructs a new OpenShiftAiChatCompletionServiceSettings.
7777
*
78-
* @param modelId the ID of the model ID
78+
* @param modelId the ID of the model
7979
* @param uri the URI of the service
8080
* @param rateLimitSettings the rate limit settings for the service
8181
*/
@@ -86,7 +86,7 @@ public OpenShiftAiChatCompletionServiceSettings(@Nullable String modelId, URI ur
8686
/**
8787
* Constructs a new OpenShiftAiChatCompletionServiceSettings.
8888
*
89-
* @param modelId the ID of the model ID
89+
* @param modelId the ID of the model
9090
* @param url the URL of the OpenShift AI service
9191
* @param rateLimitSettings the rate limit settings for the service
9292
*/

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/openshiftai/rerank/OpenShiftAiRerankServiceSettings.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
import static org.elasticsearch.xpack.inference.services.ServiceUtils.extractUri;
2929

3030
/**
31-
* Represents the settings for an OpenShift AI chat rerank service.
32-
* This class encapsulates the model ID, URI, and rate limit settings for the OpenShift AI chat rerank service.
31+
* Represents the settings for an OpenShift AI rerank service.
32+
* This class encapsulates the model ID, URI, and rate limit settings for the OpenShift AI rerank service.
3333
*/
3434
public class OpenShiftAiRerankServiceSettings extends OpenShiftAiServiceSettings {
3535
public static final String NAME = "openshift_ai_rerank_service_settings";
@@ -87,7 +87,7 @@ public OpenShiftAiRerankServiceSettings(@Nullable String modelId, URI uri, @Null
8787
* Constructs a new OpenShiftAiRerankServiceSettings with the specified model ID and URL.
8888
* The rate limit settings will be set to the default value.
8989
*
90-
* @param modelId the ID of the modelId
90+
* @param modelId the ID of the model
9191
* @param url the URL of the service
9292
*/
9393
public OpenShiftAiRerankServiceSettings(@Nullable String modelId, String url, @Nullable RateLimitSettings rateLimitSettings) {

0 commit comments

Comments
 (0)