Not

Hacker News!

Beta
Home
Jobs
Q&A
Startups
Trends
Users
Live
AI companion for Hacker News

Not

Hacker News!

Beta
Home
Jobs
Q&A
Startups
Trends
Users
Live
AI companion for Hacker News
  1. Home
  2. /Story
  3. /Show HN: Smart Router Kit – Prevent "Garbage in" for RAG Using Pydantic and LLMs
  1. Home
  2. /Story
  3. /Show HN: Smart Router Kit – Prevent "Garbage in" for RAG Using Pydantic and LLMs
Nov 24, 2025 at 4:41 AM EST

Show HN: Smart Router Kit – Prevent "Garbage in" for RAG Using Pydantic and LLMs

2dogsanerd
1 points
0 comments

Mood

informative

Sentiment

positive

Category

startup_launch

Key topics

Llms

Pydantic

Rag

Document-Processing

Ai

Yesterday I shared my Ingest Kit here. Today I'm releasing the second part: The routing logic.

Problem: Blindly chunking every PDF leads to bad retrieval. Solution: A small LLM pass (Traffic Controller) that routes documents to semantic collections (Finance vs Tech) and selects chunking strategies (Table-Aware vs Standard) before ingestion.

It's a simple pattern using Pydantic to force structured decisions from local LLMs (Ollama).

Repo: https://github.com/2dogsandanerd/smart-router-kit Part1: https://github.com/2dogsandanerd/smart-ingest-kit

Discussion Activity

No activity data yet

We're still syncing comments from Hacker News.

Generating AI Summary...

Analyzing up to 500 comments to identify key contributors and discussion patterns

Discussion (0 comments)

Discussion hasn't started yet.

ID: 46032150Type: storyLast synced: 11/24/2025, 9:56:09 AM

Want the full context?

Jump to the original sources

Read the primary article or dive into the live Hacker News thread when you're ready.

Read ArticleView on HN

Not

Hacker News!

AI-observed conversations & context

Daily AI-observed summaries, trends, and audience signals pulled from Hacker News so you can see the conversation before it hits your feed.

LiveBeta

Explore

  • Home
  • Jobs radar
  • Tech pulse
  • Startups
  • Trends

Resources

  • Visit Hacker News
  • HN API
  • Modal cronjobs
  • Meta Llama

Briefings

Inbox recaps on the loudest debates & under-the-radar launches.

Connect

© 2025 Not Hacker News! — independent Hacker News companion.

Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.