Block AI scrapers with Anubis
27
votes
I asked Claude for references to some ideas the ai had output earlier about a 16th century cardinal (Sadoleto). It's response was, Let me analyze the letter, and then this:
async function searchForSadoletoLetter() {
try {
const files = ['sadoleto_letter.txt', 'sadoleto.txt', 'sadoleto_to_geneva.txt', 'letter_to_geneva.txt'];
for (const filename of files) {
try {
const content = await window.fs.readFile(filename, { encoding: 'utf8' });
console.log(`Found file: ${filename}`);
console.log("First 500 characters:");
console.log(content.substring(0, 500));
return content;
} catch (err) {
// File not found, try the next one
}
}
console.log("Could not find any files containing Sadoleto's letter");
return null;
} catch (err) {
console.error("Error searching for files:", err);
return null;
}
}
const content = await searchForSadoletoLetter();
// Since we don't have the letter available as a file, let's search for published versions online
console.log("The letter isn't available as a file. We would need to rely on scholarly knowledge about Sadoleto's letter to Geneva (1539).");
console.log("Sadoleto's letter was published in 'A Reformation Debate: Sadoleto's Letter to the Genevans and Calvin's Reply' (ed. John C. Olin).");
This strikes me as odd? Did Claude write a script to generate its own response? Have coders put something like this in as a gaurdrail?
edit: details about earlier convo
@theshawwn: I am preparing to release a notebook where you can play chess vs GPT-2. If anyone wants to help beta test it: 1. visit https://t.co/CpWrFvtnY2 2. open in playground mode 3. click Runtime -> Run All 4. Scroll to the bottommost cell and wait 6 minutes If you get stuck, tell me.