Chat does not know previous asked?


i have an ace editor with ai chat window

it works well
but it does not know previous asked
like in chat gpt

can you point me to examples if possible


You just have to keep a running list of all responses and questions, and send them as shown here:

So a long conversation would be a bunch of user, assistant, user, assistant, etc back and forth in the api but you have to send the ENTIRE history every time you send a new request.

1 Like

thanks for your answer

so when you ask a question
from something sent before

you have to ask the question
with something sent before

1 Like