ice icon indicating copy to clipboard operation
ice copied to clipboard

Expose presence-penalty and frequency-penalty parameters for the OpenAI API

Open inthewaterwheel opened this issue 2 years ago • 2 comments

I've found that the presence & frequency penalties are rather important in tasks related to rephrasing - as the agent tends to fail via repeating input verbatim otherwise.

These feel like useful API parameters to expose - I could perhaps put a PR up for this if this sounds good.

inthewaterwheel avatar Oct 15 '22 05:10 inthewaterwheel

@stuhlmueller @reppertj @CG80499 Thoughts?

lslunis avatar Oct 17 '22 16:10 lslunis

This would be really helpful. Although generally I get better results changing the temperature.

CG80499 avatar Oct 17 '22 16:10 CG80499