Skip to main content

Module arithmetic

Module arithmetic 

Source
Expand description

§算術・数え上げ事前集計ヘルパーモジュール (Arithmetic Annotation)

小規模エンコーダーモデルが原理的に苦手とする厳密な四則演算 (金額合算など) や 配列要素のカウントを前処理で決定論的に代行し、State 末尾に集計メタデータを透過付加する。

Structs§

ArithmeticConfig
算術事前集計設定構造体。

Functions§

compute_arithmetic_summary
State 文字列および JSON Value を検査し、事前集計サマリーブロックを生成する。