Formally, let \(D_{k}=\{f(x_{1},y_{1}),\ldots,f(x_{k},y_{k})\}\) represent a set of demonstrations with \(k\) examples, where \(f(x_{k},y_{k})\) is the prompt function that transforms the \(k\)-th task example into natural language prompts.