Skip to main content

Module interpolate

Module interpolate 

Source
Expand description

§ゼロアロケーション動的プロンプト注入モジュール

先行ノードの推論結果や確信度を後続ノードのプロンプト・評価基準へ マイクロ秒未満(0.8μs 未満)の極小オーバーヘッドで動的埋め込みする。

Structs§

NodeContextValue
単一ノードのコンテキスト情報。

Functions§

interpolate_prompt
テンプレート文字列をスライス走査し、事前確保済みバッファへインプレース展開する。
interpolate_question
コンテキストに基づき、質問定義の Instructions および Criteria を補間した新しい質問を生成する。