#How to implement dialog context when using GPT-3.5's API?

11 messages · Page 1 of 1 (latest)

astral falcon
#

At present, I know that returning historical records can be realized in a limited way. Is there any other way?

dense stirrup
#

start the conversation with the role "system" and add into content the context

#

This content can be changed halfway through the conversation

astral falcon
hollow terrace
#

System message is for instructions.

astral falcon
hollow terrace
#

Regrettably either way you're going to have to use more tokens.

astral falcon
hollow terrace
#

Pretty much. You're better off just feeding prior messages normally.