Clever prompt eng trick for those who haven't seen it:
If you have many examples that can serve as "few-shot" guidance ({example[0]['input']} etc. below)
=> select these samples dynamically at runtime based on semantic (embedding) similarity with your {input}
Big perf gains!
Nov 23, 2022 · 1:33 PM UTC