Implementing stop words or phrases

If i want to stop gpt to generate some words or phrases, is logit_bias the only way to do so. Are there any other techniques?

Could you explain this a bit ?
When you mean stop GPT to generate some words or phrases, do you mean stop when GPT encounters them or stop GPT from generating them ?

I wanted to stop GPT from generating them

One way would be to give it as a part of instructions and explicit mention “Do not use these or similar meaning words”

I have a GPT4. It ignores those requests and prompts. I’ve asked it so many times not to use words like a realm, Landscape, all these fluffy words along with I’ve requested it to not use semicolons and colons, and it still does over and over again.