FieldClassifierInput interface exported
Last updated: 2026-03-01T23:25:47.068Z
Metrics
LOC: 8
Complexity: 1
Params: 0
Signature
interface FieldClassifierInput
Summary
Input context extracted from a form field for classification.
Source Code
export interface FieldClassifierInput {
/** Raw `outerHTML` of the form element (truncated to limit). */
readonly elementHtml: string;
/** Surrounding container HTML (label, fieldset, wrapper). */
readonly contextHtml?: string;
/** Normalised text signals (name + id + label + placeholder). */
readonly signals?: string;
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| FieldType | uses |
| StructuredPrompt | uses |
| renderPromptBase | uses |
Impact (Incoming)
| Source | Type |
|---|---|
| getLanguageModelApi | uses |
| isAvailableViaProxy | uses |
| makeSendMessage | uses |
| getContextHtml | uses |