Character name correction
character_correctCorrects mismatched character references by storing the typed term as an alias for the intended character and logging the fix with a timestamp.
Instructions
Teach the table that term refers to a character.
This is the manual fix for a wrong match: the term is stored as an alias of the chosen character and the correction is logged with a timestamp.
Args: term: what the user actually typed, e.g. "宫紫". char_id: the character it should resolve to (id or any known name). note: optional free text kept with the correction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| term | Yes | ||
| char_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |