How can I stop GPT from answering general questions?

Imagine my GPT will tell stories based on what the user asks for, so I made my instructions accordingly to answer that. However, even when the user asks general questions unrelated to the purpose, such as “What’s the weather today?”, it still answers those questions. How can I implement my GPT to avoid general questions?

3 Likes

Amazing! This almost stops general questions, but users can still trick it sometimes But yeah, it’s works good for me! Thanks a lot.

1 Like

You can start by adding an intermediate model which verifies that the input is suitable for the intended task.

Then, with enough successful data you can fine-tune a smaller model - even an embedding model with your specially curated dataset. The best part is that you can use the confidence of this fine-tuned model to determine if it’s usable, or if the responsibility should be passed to a more powerful one. Then you can use the result as moar training data.

1 Like