Share the readers' place, table-lookup and country helpers, unify the employment vocabulary, and list the enrich switch with the stages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ca80219bbb
commit
903b69b6d3
34 files changed
+290
-207
No files matched your search
+3
-2
@@ -1,5 +1,5 @@
|
||||
/* The Runs section of Sources: the "Run the pull now" button, and the
|
||||
* switches for the two stages that ask a model.
|
||||
* switches for the stages of a pull: the two that ask a model and enrich.
|
||||
*
|
||||
* The switches are `/api/stages`: one row per stage, drawn as the search
|
||||
* rows above are (`.srow`, `.switch`), and a switch is a PUT that stores the
|
||||
@@ -62,6 +62,7 @@
|
||||
const DOES = {
|
||||
extract: "fills in country, seniority, salary and the like from what the posting says",
|
||||
summarise: "writes a short summary and tags for the best roles",
|
||||
enrich: "reads the own page of the best roles whose list gave no text",
|
||||
};
|
||||
|
||||
const el = (tag, className, text) => {
|
||||
@@ -105,7 +106,7 @@
|
||||
if (!stage.on) row.dataset.muted = "true";
|
||||
const name = el("span", "name");
|
||||
name.append(el("span", "", stage.name[0].toUpperCase() + stage.name.slice(1)),
|
||||
el("span", "badge", stage.model));
|
||||
...(stage.model ? [el("span", "badge", stage.model)] : []));
|
||||
row.append(name, stageSwitch(stage, () => renderStages(stages)));
|
||||
const sub = el("span", "sub");
|
||||
sub.append(`${DOES[stage.name]}. How deep it reads is set per search agent, under `);
|
||||
|
||||
Reference in new issue
Block a user