Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog/127856.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 127856
summary: Fix services API Google Vertex AI Rerank location field requirement
area: Machine Learning
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public static InferenceServiceConfiguration get() {

configurationMap.put(
LOCATION,
new SettingsConfiguration.Builder(supportedTaskTypes).setDescription(
new SettingsConfiguration.Builder(EnumSet.of(TaskType.TEXT_EMBEDDING)).setDescription(
"Please provide the GCP region where the Vertex AI API(s) is enabled. "
+ "For more information, refer to the {geminiVertexAIDocs}."
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ public void testGetConfiguration() throws Exception {
"sensitive": false,
"updatable": false,
"type": "str",
"supported_task_types": ["text_embedding", "rerank"]
"supported_task_types": ["text_embedding"]
},
"rate_limit.requests_per_minute": {
"description": "Minimize the number of rate limit errors.",
Expand Down