Menu

Humanize Perplexity Agent API Output in C#: A .NET 10 Linter for Orphan Citations and Source Talk + 5 Free Tools (2026)
📰

Humanize Perplexity Agent API Output in C#: A .NET 10 Linter for Orphan Citations and Source Talk + 5 Free Tools (2026)

DEV Community: dotnet·UnAIMyText·about 1 month ago
#XXeg2G2P
#devtodotnet#devto#dev#markers#search
Long article (3072 words) — no AI summary yet.
Reading 0:00
15s threshold

Tested and written in November 2026. Fair warning: my team builds UnAIMyText, the third entry in the tool list. Copy the C# freely.

Our support team sends a monthly "what changed" email to customers: new plan prices, shipping cutoffs, policy updates. Last quarter we started drafting the background sections with Perplexity, because its answers come back grounded in web search and cite their sources.

That was the feature and the problem. Drafts arrived with [1][2][3][4] stacked after sentences, the occasional [7] when there were only five sources, and lines like "Based on the search results, the new rate applies from March." One draft went out with a dangling marker, and a customer asked where footnote 7 was.

So I wrote a C# linter that runs before a draft reaches the email tool.

What it checks

Earlier linters in this series checked wording, punctuation and Markdown. This one checks citations:

Orphan markers. A [7] with no search result whose id is 7. One is enough to fail.

Citation stacks.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.