Urgent.News

What's breaking now, across thousands of outlets.

AI

How We Built an AI Directory Pipeline with LangGraph and Contentful

For Quicknode’s Builder’s Guide, we built a pipeline that populates over 60 structured fields per tool. That makes the content model a useful starting point for understanding the work: each entry has to support discovery and comparison, so generating a readable summary addresses only part of the publishing problem. Our Quicknode case study documents a 5-node LangGraph workflow with retrieval,…

Quicknode's Builder's Guide details the creation of an AI directory pipeline utilizing LangGraph and Contentful. This pipeline populates over 60 structured fields per tool, emphasizing the importance of a content model in supporting discovery and comparison. The workflow comprises five nodes: retrieval, generation, category validation, quality scoring, and publication.

The guide underscores the necessity of assigning distinct roles to each concern, such as evidence collection, writing, classification, and publication, each with its own acceptance criteria.

The content model defines the fields and relationships within each entry, enabling a more granular evaluation of generated content than a simple assessment of its persuasiveness. For instance, a descriptive summary requires contextual information to explain the tool's purpose, while a pricing field necessitates specific information about the offer. Assigning categories demands clear definitions to verify the choice against a predefined set of criteria.

Missing information must be explicitly addressed; an empty field, an explicit unknown, or a generated guess can significantly impact the reader's experience. The pipeline retrieves data using the Tavily API and generates descriptions, pricing tiers, and use cases with GPT-4o. The relevance of the retrieved material to the intended fields must be determined, especially concerning pricing information.

Verification of the source's current offer, limited promotion, or older announcement is crucial before accepting generated values.

Classification against the directory's taxonomy should be performed using AI reasoning, ensuring the assigned category aligns with the directory's structure. Overlapping categories require careful consideration of how they should be handled in the content model. The workflow should separately validate classification from prose quality, as an accurate explanation of a tool does not necessarily guarantee correct categorization.

Publication criteria are defined using the Contentful Management API, which handles entry creation and asset linking. Scoring content quality before publishing allows for concrete decision-making when evaluating entries. Possible criteria for scoring include factual support, completion of required fields, and category fit, among others. These criteria should be tested against representative entries before implementation to ensure effective decision-making during the publishing process.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

AI datacenter capex will far exceed forecast revenue through 2030

Investors are pouring more into AI data center infrastructure than they can hope to recoup by 2030, according to Gartner. “Enterprise and consumer AI revenue will be insufficient to support profitable returns on all planned AI capital expenditures during this period,” said Gartner Senior Director Analyst Will Sommer.

What it took to trust a package manager Claude wrote

I didn't write or even read a single line of code when making jpm, which is a package manager for JavaScript that works in npm, pnpm, yarn, and bun projects.

  • Claude created jpm package manager for npm, pnpm, yarn, and bun projects
  • Claude used AI to develop TLS, crypto, and http modules
  • Five days of testing ensured jpm's robustness across platforms

More from Friday 16 October →