Ingestion lives in Windfall (channels bring content in); scoring lives in Radiance. This guide pulls a Reddit post and its full comment tree into Pulp, then scores the whole exchange node by node.
Pull the post and its comment tree in through windfall.channels. You get back a thread whose id the scorer can use.
# Ingest a post and its comment tree
thread = client.windfall.channels.create_reddit_post(
url="https://www.reddit.com/r/urbanplanning/comments/..."
)Hand the thread id to create_reddit_score. It walks every node (the post and each comment) and returns a persuasion measurement for each one.
# Score the whole exchange, node by node
result = client.radiance.scoring.create_reddit_score(post_id=thread.id)
for node in result.nodes:
print(node.author, node.persuasive_velocity.logos, node.moves[:3])Each node carries its author, its eight dimension persuasive_velocity, and the rhetorical moves detected in it, so you can watch an argument’s force rise and collapse across the conversation.
Next: Ground a claim in evidence. Or head back to Getting started.