はい

 1 あいづちの機能。(話し相手の話を聞いている証拠として打つ)。(会話4)(会話8)(会話9)(会話14)
    Used to indicate that one is listening.

 2 承諾・肯定のときに使う。(会話3)(会話10)(会話13)(会話14)
    Used to give an affirmative answer.