openai-cookbook
openai-cookbook copied to clipboard
How do I keep the Chat session focused on a topic?
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?
mark
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?
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?
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!