ReferenceCLI
Reranker Update
Reranker Update CLI command reference
goodmem reranker update
Update a reranker
Synopsis
Update a reranker in the GoodMem service.
goodmem reranker update [reranker-id] [flags]Examples
# Update a reranker's display name
goodmem reranker update 123e4567-e89b-12d3-a456-426614174000 --display-name "New Name"
# Update a reranker's endpoint URL
goodmem reranker update 123e4567-e89b-12d3-a456-426614174000 --endpoint-url "https://new-api.example.com"
# Rotate API key credentials
goodmem reranker update 123e4567-e89b-12d3-a456-426614174000 --cred-api-key "NEW_API_KEY"
# Replace all labels with new ones
goodmem reranker update 123e4567-e89b-12d3-a456-426614174000 --label key1=value1 --label key2=value2 --label-strategy replace
# Merge new labels with existing ones
goodmem reranker update 123e4567-e89b-12d3-a456-426614174000 --label key1=newvalue --label-strategy mergeOptions
--api-path string New API path
--cred-api-key string Inline API key stored by GoodMem (sends Authorization: Bearer <key>)
--cred-gcp Use Google Application Default Credentials
--cred-gcp-quota string Quota project for Google ADC requests
--cred-gcp-scope strings Additional Google ADC OAuth scope (can be specified multiple times)
--description string New description for the reranker
--display-name string New display name for the reranker
--endpoint-url string New API endpoint URL
-h, --help help for update
-l, --label strings New labels in key=value format (can be specified multiple times)
--label-strategy string Label update strategy: 'replace' to overwrite all existing labels, 'merge' to add to existing labels (default "replace")
--model-identifier string New model identifier
--monitoring-endpoint string New monitoring endpoint
--version string New version informationOptions inherited from parent commands
--api-key string API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
--server string GoodMem server address (gRPC API) (default "https://localhost:9090")SEE ALSO
- goodmem reranker - Manage GoodMem rerankers