File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
core/src/main/java/com/sap/ai/sdk/core Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,17 @@ HttpDestination toInferenceDestination(
170170 .build ();
171171 }
172172
173+ /**
174+ * Helper method to build the <b>relative</b> URL path for the inference endpoint of a deployment.
175+ * The result of this together with the base path defined on the destination will be used for
176+ * inference calls towards this deployment.
177+ *
178+ * @param deploymentId The deployment ID to be used for the path.
179+ * @return The path to the deployment.
180+ */
173181 @ Nonnull
174- private static String buildDeploymentPath (@ Nonnull final String deploymentId ) {
182+ @ Beta
183+ protected String buildDeploymentPath (@ Nonnull final String deploymentId ) {
175184 return "inference/deployments/%s/" .formatted (deploymentId );
176185 }
177186
You can’t perform that action at this time.
0 commit comments