HemulGM / DelphiOpenAI

OpenAI API wrapper for Delphi. Use ChatGPT, DALL-E, Whisper and other products.
MIT License
242 stars 58 forks source link

Compilation Error #14

Closed limelect closed 1 year ago

limelect commented 1 year ago

Just uses OpenAI; Nothing else !!!! Compile with 10.2.3

On unit OpenAI.Completions; error at end);

[dcc32 Error] OpenAI.Completions.pas(218): E2250 There is no overloaded version of 'TOpenAIAPI.Post' that can be called with these arguments

P.S i have a few versions from you. What is going on?

HemulGM commented 1 year ago

I have no way to check compilation on versions below 10.3

yeohray commented 1 year ago

I have the same issue with Delphi 10.3, specifically 26.0.34749.6593. Should I be using a newer version? Thank you.

HemulGM commented 1 year ago

Haven't checked for 10.3 for a long time. For a completely correct operation, I recommend using D11+