Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the "presence_penalty" parameter to the request rather than frequency parameter, as it's an absolute measurement rather than a relative measurement. https://platform.openai.com/docs/api-reference/parameter-details suggests that 0.1 to 1 is reasonable to suppress repetition - with a value of 2 the quality of the sample would decrease
- Loading branch information