openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

How do I keep the Chat session focused on a topic?

Open tfk12 opened this issue 1 year ago • 3 comments

I find it on help.openai.com. but it seems to be incomplete.

quite wierd.

The main way to keep the conversation focused on a topic is the system message. You can set this

So How can I make the conversation go on?

tfk12 avatar Mar 02 '23 07:03 tfk12

mark

yunfengsay avatar Mar 02 '23 08:03 yunfengsay

Please see here: https://platform.openai.com/docs/guides/chat/instructing-chat-models can you send me a link to the other help center article you are referencing?

logankilpatrick avatar Mar 02 '23 14:03 logankilpatrick

Is it possible to keep the conversation persistent like in the browser window? Or is the API only intended to be used for one-shot queries ATM?

MaslinuPoimal avatar Mar 03 '23 17:03 MaslinuPoimal

Is it possible to keep the conversation persistent like in the browser window? Or is the API only intended to be used for one-shot queries ATM?

Only designed for one off messages right now, but you can pass in the previous messages in the request so that the API has context on the conversation.

Closing this for now, but we will keep iterating on the docs here to make things more clear!

logankilpatrick avatar Mar 03 '23 19:03 logankilpatrick