Skip to content

Commit c7ec10d

Browse files
authored
[8.16] Update sparse text embeddings API route for Inference Service (#118367)
* Update sparse text embeddings API route for Inference Service * Update docs/changelog/118367.yaml
1 parent 210f9d2 commit c7ec10d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changelog/118367.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 118367
2+
summary: "[8.16] Update sparse text embeddings API route for Inference Service"
3+
area: Inference
4+
type: enhancement
5+
issues: []

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceServiceSparseEmbeddingsModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ private URI createUri() throws URISyntaxException {
108108
default -> throw new IllegalArgumentException("Unsupported model for EIS [" + modelId + "]");
109109
}
110110

111-
return new URI(elasticInferenceServiceComponents().eisGatewayUrl() + "/api/v1/sparse-text-embedding/" + modelIdUriPath);
111+
return new URI(elasticInferenceServiceComponents().eisGatewayUrl() + "/api/v1/sparse-text-embeddings/" + modelIdUriPath);
112112
}
113113
}

0 commit comments

Comments
 (0)