I now have something which will send any length of text to ChatGPT for summarising. If it's a really long piece then - because there's a max amount of tokens per request - it breaks it into chunks and summarises each chunk separately.