Open hornkim opened 2 months ago
Thanks for letting me know, Kim. Unfortunately, I am not able to attend the code right now, due to other commitments.
Cheers,
RdR
On Thu, 19 Sept 2024, 13:23 hornkim, @.***> wrote:
Hi, I loaded the code locally using ['prolog2gpt.pro'], and all worked fine.
However, tried the library below and it is calling the wrong URL, it should be /vi/chat/completions ?
?- use_module(library(prolog2gpt)). true.
?- init_gptkey. true.
?- gpt_completions('gpt-4o','Hello',Answer,[]). ERROR: url `'https://api.openai.com/v1/completions'' does not exist (status(404,Not Found))
Kim
— Reply to this email directly, view it on GitHub https://github.com/RdR1024/prolog2gpt/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKXA6Z6FUJVU3DKLOIGTADZXI7RHAVCNFSM6AAAAABOO66B5SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTKMJYHAZDMMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, I loaded the code locally using ['prolog2gpt.pro'], and all worked fine.
However, tried the library below and it is calling the wrong URL, it should be /vi/chat/completions ?
?- use_module(library(prolog2gpt)). true.
?- init_gptkey. true.
?- gpt_completions('gpt-4o','Hello',Answer,[]). ERROR: url `'https://api.openai.com/v1/completions'' does not exist (status(404,Not Found))
Kim