Skip to content

Commit 8aa49d9

Browse files
authored
Update sparse text embeddings API route for Inference Service (#118025)
* Update sparse text embeddings API route * Update docs/changelog/118025.yaml
1 parent ae598ee commit 8aa49d9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changelog/118025.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 118025
2+
summary: 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
@@ -114,7 +114,7 @@ private URI createUri() throws URISyntaxException {
114114
}
115115

116116
return new URI(
117-
elasticInferenceServiceComponents().elasticInferenceServiceUrl() + "/api/v1/sparse-text-embedding/" + modelIdUriPath
117+
elasticInferenceServiceComponents().elasticInferenceServiceUrl() + "/api/v1/sparse-text-embeddings/" + modelIdUriPath
118118
);
119119
}
120120
}

0 commit comments

Comments
 (0)