<%*
const title = await tp.system.prompt("Enter the title of the paper");
const author = await tp.system.prompt("Enter [[the author]] of the paper");
const fileName = `${title} by ${author} – LLM Summary`;
await tp.file.rename(fileName);
const type = await tp.system.prompt("Enter the type (book/paper)");
const typeTag = type === "book" ? "#book" : "#paper";
tR += `- Title: ${title}\n`;
tR += `- Author: ${author}\n`;
tR += `- Tags: #summary #llmgenerated #toread ${typeTag}\n`;
-%>