lbb_fit_sources_manage
Declare, dry-run or refresh a fit source (fit from text). Run lbb_fit_sources action=preview first and show the user the text the fit reads.
Instructions
Declare, dry-run or refresh a fit source (fit from text). Run lbb_fit_sources action=preview first and show the user the text the fit reads. dry_run runs the models on the first part of up to 3 instances (at most 60 s; truncated when one did not finish) and returns every proposal with its quote, its support score and what the checks made of it; it files nothing but spends model budget. declare sets the class, the fields and the context; the job then reads every instance and files suggestions (an existing source changes only what you name). refresh asks the job to run now and returns the status at once; the job also runs by itself after each published commit, so poll lbb_fit_sources action=get for progress. Nothing changes the ontology until a person accepts a suggestion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | preview/declare/dry_run: the fields that hold the text, as embedding paths (transcript, label, about/label, <https://…>). Omit for the long text facts of the class. | |
| name | No | The fit source name (refresh: required). | |
| class | No | preview/declare/dry_run: the class IRI whose instances hold the text. | |
| graph | No | Graph to target; defaults to the connection's graph | |
| action | Yes | ||
| detail | No | Response detail level. Defaults to compact. | |
| context | No | preview/declare/dry_run: one sentence about the text, e.g. "interviews with employees about their work processes" (at most 500 characters). | |
| exclude | No | preview/declare/dry_run: fields to drop from the automatic choice. |