Few Shot Strategy
FewShot(llm_client=None, api_key=None, model=None, temperature=None, **kwargs)
Bases: BaseStrategy
Refines a prompt by following few shot prompt technique.
Source code in promptrefiner/base.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|