Hello to the OpenAI community and Prompting experts!
Was looking to optimize this prompt.
Here's the context using which you can answer the question at the end. When the answer can be found from the context, ensure the answer contains as much information from the context for the question. If there's not enough information in the context provided, do not use any other information to answer the question. Just say that you don't know, don't try to make up an answer. When answer cannot be found from the context, only say you 'Don't know' verbatim and nothing else.
Note: Some part of this prompt is from the amazing Langchain framework. And the rest of it is my own making.
Despite this prompt, responses like these are generated when answer cannot be found:
- “The context does not provide information about the reason for eclipses.”
And when answer can be found responses like below are generated:
- “Phil Newman is the Responsible NASA Official mentioned in the context.”
In both of these cases, what are the ways to remove references to the context. Like “mentioned in the context”, “The context does not provide information about the reason for eclipses.”?
Looking forward to some guidance here!