How to chain a prompts with chat completion API?

Hi Paul thank for your quick answer!

Just re-read the intro about chat
https://platform.openai.com/docs/guides/text-generation/chat-completions-api

Now I understand the purpose of the “assistant” messages which are there to give context / history of a conversation…

Assistant messages store previous assistant responses, but can also be written by you to give examples of desired behavior.

Right?

1 Like