Please try giving the prompt to create summary to ChatGPT then 2 routes. One with a filter “length” of text > 500, add one more chatGPT module to rephrase the summary in less than 500 words. Another route for “length” of text <= 500 as a result.
Hey, @Pamela1.
I hope everything is going well for you.
I’ll advise you not to make the scenario more complicated (operational and time-consuming). Alternatively, you might attempt to precisely trigger the GPT. The following tips could assist you in enhancing the chat GPT’s prompting:
I scrapt the webpage from the url to extract content
I send it to a cell in sheets to detect the language (with a sheet function)
I get the la language in another cell
I set a variable depending on the detected language (to publish in the right telegram channel at the end)
I set another variable depending on the detected language (to set the right language code for the buesky/unshape module
one route goes to chatgpt making a long (less than 500) summary of the webpage extracted content. THIS DOES NOT WORK WELL. I publish chatgpt output to mastodon.
the other route goes to chatgpt making a short (less that 280) comment about the webpage extracted content. THIS DOES NOT CREATE PROBLEMS FOR THE MOMENT. I publish chatgpt output TW, BS, TG and a cell in sheet.
I thought about the “two routes” option, but if after second chatgpt rephrase the output is still over 500, then it will break again