RdR1024 / prolog2gpt

SWI Prolog library to interface to the GPT API
MIT License
16 stars 3 forks source link

Update for OpenAI API 1.0 #2

Closed jds-amplify closed 5 months ago

jds-amplify commented 5 months ago

The current API changes the interface for the chat endpoint, and the edit endpoint is gone.

This PR is just so that the tests pass. More extensive changes will be required to bring the documentation up to date, and to implement new features of the API.

RdR1024 commented 5 months ago

Thank you!

jds-amplify commented 5 months ago

Thank you for merging @RdR1024.

Would you be open to my adding functionality to the module? I'm thinking e.g. of retries, supporting chains of messages...

RdR1024 commented 5 months ago

Sure, I'm not precious about the library -- just needed to have an easy API.

Cheers,

RdR

On Wed, 6 Mar 2024, 12:11 jds-amplify, @.***> wrote:

Thank you for merging @RdR1024 https://github.com/RdR1024.

Would you be open to my adding functionality to the module? I'm thinking e.g. of retries, supporting chains of messages...

— Reply to this email directly, view it on GitHub https://github.com/RdR1024/prolog2gpt/pull/2#issuecomment-1979902311, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKXA65TXWWBAADHFHSY4CLYWZUM3AVCNFSM6AAAAABEGIN2C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZHEYDEMZRGE . You are receiving this because you were mentioned.Message ID: @.***>