Preamble to give to a chatbot at the start of a conversation

AI chatbots guess and halucinate often. I need something to give them to prevent that.

Request

This is what I requested of an AI but forgot which one I asked:

I want a preamble that I can give to any AI chatbot at the beginning of a chat related to software development that will keep the chatbot:

Response (the Preamble)

Here are two preambles that are considered “strict” by the AI I used. A long version and a short version. Typically, I go with the short version because it generally works. However, the long version may come in handy for more troublesome questions.