mkht / PSOpenAI

PowerShell module for OpenAI API.
MIT License
35 stars 10 forks source link

Request-ChatCompletion - Set ConvertFrom-Json params for PS 7.x #31

Closed potatoqualitee closed 1 month ago

potatoqualitee commented 1 month ago

Request-ChatCompletion - Set ConvertFrom-Json params for PS 7.x while still supporting 5.1

Fixes https://github.com/mkht/PSOpenAI/issues/30 while keeping original intent

mkht commented 1 month ago

Thanks for the PR. I just don't know if the Depth and NoEnumerate parameters are necessary or not, or if it would cause any problems in actual operation if they are not there.

Unless there is a specific problem, I don't think it is necessary.

potatoqualitee commented 1 month ago

ah ok, same -- i have never used the noenumerate but often use depth