Customizing a custom GPT. Knowledge persistence

The only way I found apparently is to tell GPT, in the instructions area, to check the documentation before answering questions. This works, not all the time, and force GPT to review the docs before answering. However expecially on coding GPT make up things for scripts languages it did not know. I think fine tuning is the way to go.