GoodMemGoodMem
ReferenceCLIReranker

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 supported modalities
  goodmem reranker update 123e4567-e89b-12d3-a456-426614174000 --modalities TEXT,IMAGE

  # 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 merge

Options

      --api-path string                New API path
      --cred-api-key string            API key for provider endpoint (use "-" to read from piped stdin)
      --cred-api-key-file string       Read API key from file (file should be mode 0600)
      --cred-api-key-prompt            Prompt for API key interactively (requires TTY, input hidden)
      --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)
      --dashscope-api-dialect string   New DashScope API dialect for DashScope resources only (RERANK_NATIVE_NESTED or RERANK_COMPATIBLE_FLAT)
      --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")
      --modalities strings             New supported modalities (TEXT, IMAGE, AUDIO, VIDEO); non-empty replaces the stored set
      --model-identifier string        New model identifier
      --monitoring-endpoint string     New monitoring endpoint
      --version string                 New version information

Options 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)

SEE ALSO