I’ve set this ‘post-prompt’ (below), and it ran well on this example. Maybe my non-native English didn’t help with writing a good prompt. This time, I asked chatGPT to help me write a direct order in English, and it suggested this:
$post_prompt = " Do not give me any information about procedures and service features that are not mentioned in the PROVIDED CONTEXT."
And this worked as expected. Fine.
[USER] do you have a way to generate questions and answers from a document? + $post_prompt
[ASSISTANT] Sorry, I don’t know the answer.
I hope this help you.