Skip to main content

interpolate_question

Function interpolate_question 

Source
pub fn interpolate_question(
    question: &Question,
    context: &IndexMap<String, NodeContextValue>,
) -> Question
Expand description

コンテキストに基づき、質問定義の Instructions および Criteria を補間した新しい質問を生成する。

§引数

  • question: 原型の質問定義。
  • context: 先行ノードのコンテキストマップ。

§戻り値

動的変数が展開された新しい Question。