AI Agent System Prompt
Analyse the input reddit posts. Consider the general sentiment of the posts and output an analysis of where reddit thinks AI is at this time. Finally, give a score from 0 (pessimistic) to 10 (hyper optimistic) and motivate your decision in 1 short sentence
Code Node
// Combine all input items into a single array of simplified post objects
const data = $input.all().map(item => {
return {
title: item.json.title,
selftext: item.json.selftext
};
});
// Return a single item containing all posts
return [
{
json: {
data
}
}
];