embedding-ft
Embedding FT
Run Workflow
- By default the wrapper runs the published CLI through
npm exec --yes --package=@tiangong-lca/cli@latest -- tiangong. UseTIANGONG_LCA_CLI_DIRor--cli-dironly for local dev/CI overrides. - Set
TIANGONG_LCA_API_BASE_URLandTIANGONG_LCA_API_KEY, or pass--base-urland--api-key. - Execute
node scripts/run-embedding-ft.mjswith standardtiangong admin embedding-runflags. - The wrapper delegates to
tiangong admin embedding-run. - Inspect
completedJobsandfailedJobs, then triage via references.
Commands
TIANGONG_LCA_API_BASE_URL="https://example.supabase.co/functions/v1" \
TIANGONG_LCA_API_KEY="<your-api-key>" \
node scripts/run-embedding-ft.mjs --dry-run
TIANGONG_LCA_API_BASE_URL="https://example.supabase.co/functions/v1" \
TIANGONG_LCA_API_KEY="<your-api-key>" \
node scripts/run-embedding-ft.mjs
node scripts/run-embedding-ft.mjs \
--input ./assets/example-jobs.json \
--base-url "https://example.supabase.co/functions/v1" \
--api-key "$TIANGONG_LCA_API_KEY"
# Force a local CLI working tree during dev/CI
TIANGONG_LCA_CLI_DIR=/path/to/tiangong-lca-cli \
node scripts/run-embedding-ft.mjs \
--dry-run \
--base-url "https://example.supabase.co/functions/v1" \
--api-key "$TIANGONG_LCA_API_KEY"
Fast Triage
400: request body is not a valid job array.500: SageMaker request/response parsing failure.completedJobs < submitted: inspect queue payload, row version, and content function output.
Load References On Demand
references/env.md: auth and caller environment.references/job-contract.md: queue semantics and DB side effects.references/testing.md: smoke-test and debug checklist.
More from tiangong-lca/skills
process-hybrid-search
Execute and troubleshoot Supabase edge function `process_hybrid_search`, which rewrites process descriptions and calls `hybrid_search_processes` with optional filters. Use when validating process query/filter behavior, tuning retrieval prompts, or debugging auth, embedding, and RPC failures.
15flow-hybrid-search
Execute and troubleshoot Supabase edge function `flow_hybrid_search`, which rewrites flow descriptions and calls `hybrid_search_flows` with optional filters. Use when validating flow query/filter behavior, tuning retrieval prompts, or debugging auth, embedding, and RPC failures.
14process-automated-builder
Execute the supported `process_from_flow` CLI workflow. Use `node scripts/run-process-automated-builder.mjs auto-build|resume-build|publish-build|batch-build` when you need the unified `tiangong process ...` surface from a skill wrapper.
13lifecyclemodel-hybrid-search
Execute and troubleshoot Supabase edge function `lifecyclemodel_hybrid_search`, which rewrites lifecycle model descriptions and calls `hybrid_search_lifecyclemodels` with optional filters. Use when validating lifecycle-model query/filter behavior, tuning retrieval prompts, or debugging auth, embedding, and RPC failures.
13lifecycleinventory-review
Review process-level or lifecyclemodel-level lifecycle inventory outputs from local TianGong build runs, plus frozen remote TianGong process snapshots. Use when auditing process_from_flow batches, remote process rows fetched through the canonical snapshot wrapper, or lifecyclemodel build artifacts through the unified CLI with reproducible review inputs and outputs.
10flow-governance-review
Run the CLI-backed flow governance commands for review, remediation, deterministic process-flow repair, and publish preparation. Use `node scripts/run-flow-governance-review.mjs COMMAND ...` when you need the supported `tiangong review flow` and `tiangong flow ...` workflows from a skill wrapper.
9