Create Resume from Career KB
create_base_resume_from_kbCompose a new base resume from selected approved Career KB entities and a role label or category; only approved points are included, with no LLM involved.
Instructions
Compose a new base resume from selected Career KB entities. LLM-free.
entity_ids is REQUIRED. An empty list composes nothing and 422s — that is
deliberate; omitting the argument is not allowed because it would have to
mean "the whole KB". A role_label or role_category is required (no slug
argument). role_category is strict: an unknown value 422s naming the
closest categories, no normalization. An unmatched role_label maps to
role_category "other" and slug `other`/`other_2`…; display_name never
affects the slug, which is `base.slug` in the response. Only APPROVED
points under the selected entities compose —
points from kb_ingest_resume are DRAFTS and contribute nothing until
kb_approve_points (or the user, at /career) approves them.
skills and contact arrive in full from the KB profile regardless of entity
selection (the KB has no per-entity skill data), so skills may need trimming
on the resulting base. The
whole-career summary is dropped unless include_summary, or pass a reviewed
summary. A selected job or project with no approved point is left out, and
a 422 "None of the items you picked has approved bullets." means none has any.
Response is {base, next}. next is a hint (null when suppressed or when its
settings read fails; the base is created either way, and repeating the call
mints a second slug, <slug>_2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | ||
| entity_ids | Yes | ||
| role_label | No | ||
| display_name | No | ||
| role_category | No | ||
| include_summary | No |