How to Prevent OpenAI and Google From Training Their LLMs on Your Website's Data: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
The first 2 lines prevent [[OpenAI]]'s [[models]] like [[ChatGPT]], [[GPT-4]], [[GPT-5]] from training on your website's content. | The first 2 lines prevent [[OpenAI]]'s [[models]] like [[ChatGPT]], [[GPT-4]], [[GPT-5]] from training on your website's content. | ||
The last 2 lines prevent [[Google]]'s [[models]] like [[Bard]], [Gemini]] from training on your website's content. | The last 2 lines prevent [[Google]]'s [[models]] like [[Bard]], [[Gemini]] from training on your website's content. | ||
The code above blocks the [[models]] from using your data for the entire website. If you only want to block the models from specific sections or directories of your website, you can do this: | The code above blocks the [[models]] from using your data for the entire website. If you only want to block the models from specific sections or directories of your website, you can do this: |
Latest revision as of 10:31, 25 December 2023
- See also: Guides
You can prevent OpenAI and Google from training your large language models (LLMs) on your website's data, content or information by adding these 4 lines to your website's robot.txt file:
User-agent: GPTBot Disallow: / User-agent: Google-Extended Disallow: /
The first 2 lines prevent OpenAI's models like ChatGPT, GPT-4, GPT-5 from training on your website's content.
The last 2 lines prevent Google's models like Bard, Gemini from training on your website's content.
The code above blocks the models from using your data for the entire website. If you only want to block the models from specific sections or directories of your website, you can do this:
User-agent: GPTBot Disallow: /name-of-the-section User-agent: Google-Extended Disallow: /name-of-the-section