封鎖 AI 爬蟲
原文由 Ellie Huxtable 于 發布,訂閱此部落格
對於現階段的 LLM,我的看法相當矛盾。這篇筆記就不深入談這個了——我不想展開那個討論。
不過,雖然我在這裡做的並不是什麼尖端研究,但我的文章確實是用心寫給人看的。想到我在這裡花十分鐘寫的東西,未來也許能幫幾個人省下時間,就覺得值得了。
我不是為了讓別人拿去訓練模型、再拿去賣訂閱,才寫這些的。
我新的 robots.txt 已經排除了多個已知 LLM 爬蟲的 user agent。我列出的大多數爬蟲都已確認過,每一項也都附上了來源。新聞媒體的 robots.txt 也很值得參考,因為他們同樣會阻擋 LLM。
如果你也想這麼做,歡迎直接拿我的去用!
# I know this can just be _totally_ ignored by crawlers
# But let's hope they behave well :)
# Code: https://github.com/ellie/notes
# Source: https://darkvisitors.com/
# OpenAI, ChatGPT
# https://platform.openai.com/docs/gptbot
User-agent: GPTBot
Disallow: /
# Google AI (Bard, etc)
# https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers
User-agent: Google-Extended
Disallow: /
# Block common crawl
# I have mixed feelings on this one, but many models are trained on this data
# It is also used to bootstrap new search indices though
# https://commoncrawl.org/ccbot
User-agent: CCBot
Disallow: /
# Facebook
# https://developers.facebook.com/docs/sharing/bot/
User-agent: FacebookBot
Disallow: /
# Cohere.ai
# https://darkvisitors.com/agents/cohere-ai
User-agent: cohere-ai
Disallow: /
# Perplexity
# https://docs.perplexity.ai/docs/perplexitybot
User-agent: PerplexityBot
Disallow: /
# Anthropic
# https://darkvisitors.com/agents/anthropic-ai
User-agent: anthropic-ai
Disallow: /
# ...also anthropic
# https://darkvisitors.com/agents/claudebot
User-agent: ClaudeBot
Disallow: /隨機一篇部落格
留言
登入後參與討論