Skip to content

Commit

Permalink
[8.17] Update sparse text embeddings API route for Inference Service (e…
Browse files Browse the repository at this point in the history
…lastic#118368)

* Update sparse text embeddings API route for Inference Service

* Update docs/changelog/118368.yaml
  • Loading branch information
demjened authored Dec 10, 2024
1 parent ebb6527 commit 02e296f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/changelog/118368.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 118368
summary: "[8.17] Update sparse text embeddings API route for Inference Service"
area: Inference
type: enhancement
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ private URI createUri() throws URISyntaxException {
default -> throw new IllegalArgumentException("Unsupported model for EIS [" + modelId + "]");
}

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

0 comments on commit 02e296f

Please sign in to comment.