Skip to content

Commit

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

* Update sparse text embeddings API route for Inference Service

* Update docs/changelog/118367.yaml
  • Loading branch information
demjened authored Dec 10, 2024
1 parent 210f9d2 commit c7ec10d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/changelog/118367.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 118367
summary: "[8.16] 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 c7ec10d

Please sign in to comment.