cs-util-com / cscore

cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects.
https://cs-util-com.github.io/cscore/
Apache License 2.0
183 stars 31 forks source link

Changed CreateJsonInstructions() in ChatGptExtensions to allow giving… #127

Closed leanderbes closed 5 months ago

leanderbes commented 6 months ago

… multiple examples for a json response


This change is Reviewable

leanderbes commented 6 months ago

Thanks for submitting this, its a good idea to allow including multiple examples, did you find out through experiments that multiple examples work better than one?

I added a few change requests in the code

I had some issues with yes/no responses when the model was only presented with a yes or no example but not both. Giving multiple examples seems to improve the responses.

codeclimate[bot] commented 6 months ago

Code Climate has analyzed commit 9ab6ae3e and detected 0 issues on this pull request.

View more on Code Climate.