pub trait HierarchicalCoarseScorer {
// Required method
fn score_coarse(
&self,
state: &str,
instructions: &str,
coarse_categories: &IndexMap<String, String>,
) -> Result<IndexMap<String, f64>>;
}Expand description
文脈対応型・階層大分類スコアリングインターフェース。
単純な静的類似度ではなく、入力 State と文脈全体を反映して 大分類クラスタごとの確率・確信度スコアを算出する。
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".