GoodMemGoodMem
ReferenceCLICloud

Cloud Optimizer Create

Cloud Optimizer Create CLI command reference

goodmem cloud optimizer create

Run a retrieval optimization, billing retrieval and judging to its instance

Synopsis

Run a retrieval optimization, billing retrieval and judging to its instance using the selected workspace and instance.

The JSON spec accepts schemaVersion, name, instance, sourceSpace, preset, embedders, rerankers, includeNoReranker, judgeLlm, synthLlm, baselineEmbedder, baselineReranker, queries, observedQueryCount, and observedQueryWindowDays. The parameters object accepts numeric settings under their runner names. For a custom effort preset, provide query_count, confirmation_queries, and trial_budget in parameters. Use goodmem cloud optimizer instance-models to find model and space IDs. Observed queries use the logging policy already in effect on the source instance.

goodmem cloud optimizer create [flags]

Examples

  goodmem cloud optimizer create --spec search.json

  # search.json
  {
    "schemaVersion": 1, "name": "compare-support-search", "instance": "817",
    "sourceSpace": "<space-id>", "preset": "balanced",
    "embedders": ["<current-embedder-id>", "<candidate-embedder-id>"],
    "judgeLlm": "<judge-llm-id>", "queries": ["How do I update my address?"]
  }

Options

  -h, --help[=true|false]    help for create
      --plan-digest string   Require the digest from a previously reviewed plan
      --spec string          Version 1 optimizer JSON spec (file or - for stdin)

Options inherited from parent commands

      --account string        Named Cloud login (GOODMEM_CLOUD_ACCOUNT)
      --cloud-origin string   Cloud service origin (GOODMEM_CLOUD_ORIGIN)
  -f, --format string         Output format: table, json, compact, or quiet (default "table")
      --instance string       Instance ID, UUID, or unambiguous name within the workspace (GOODMEM_CLOUD_INSTANCE)
      --profile string        GoodMem profile to use for this command
  -q, --quiet[=true|false]    Print identifiers only
      --workspace string      Workspace ID, slug, or unambiguous name (GOODMEM_CLOUD_WORKSPACE)

SEE ALSO

On this page