Chatgpt not removing few sentences from response

I want chatGPT to act as slack-bot for helping on build errors in CICD. I have previous errors and their resolutions embedded in vector DB. These resolutions also have few internal documentation links. In my prompt, I am asking to include any relevant documentation URLs, excluding the Jenkins URL, if applicable. But when documentation URLs are not available in context/references, chatgpt explicitly mentions “Unfortunately, specific documentation URLs related to this exact error are not available.” . I want to avoid getting such or similar lines in the response.

I tried to explicitly ask gpt to avoid such lines but it keeps giving in few other examples.

How should I tune my prompt to avoid this ?