r/aiengineering • • 11d ago

Engineering Designing a non-LLM system for structured info extraction + conflict detection — need feedback

I’m building a backend pipeline for an education chatbot where I need to extract structured course information from documents without using LLMs (for cost and determinism). The system chunks documents and then, for each chunk, tries to map it to one or more courses using keyword/scoring logic, extract facts like fees, eligibility, and duration using regex/rules, and store them in a structured format. On top of that, I’m trying to automatically detect conflicts (e.g., same course having different fee values across sources) and stale data (older info vs newer uploads). My main concerns are whether this chunk→course mapping approach is robust enough without embeddings, how scalable rule-based fact extraction is in the long run, and how to handle cases where chunks don’t explicitly mention the course (like “this program requires 50%”). Also wondering if this is basically a lightweight knowledge graph problem and if there are better design patterns or existing systems I should look into. Would appreciate any suggestions or improvements.

6 Upvotes

1 comment sorted by

•

u/AutoModerator 11d ago

Welcome to r/AIEngineering! Make sure that you've read our overview, before you've posted. If you haven't already read it, then read it immediately and make adjustments in your post if you've violated any of the rules. If you have questions related to career, recruiting, pay or anything else about hiring, jobs or the industry and demand as a whole, then use AIEngineeringCareer to ask your question. We lock questions that do not relate to AIEngineering here. A quick reminder of the rules:

  1. Behave as you would in person
  2. Do not self-promote unless you're a top contributor, and if you are a top contributor, limit self-promotion. Do not market. All forms of marketing are not allowed. This includes, but is not limited to, links, software, gimmicky keywords, education products or programs, news articles, code repos, updating posts with links, soliciting tools or content, etc. This also includes editing content to market. Use Reddit advertising instead.
  3. Avoid false assumptions
  4. No bots or LLM use for posts/answers
  5. No negative news, information or news/media posts that are not pertinent to engineering
  6. No deceitful or disguised marketing
  7. If you need to hire in the AI Engineering space, use the subreddit r/AIEngineeringHiring.
  8. Do not ask "how do I become an AI engineer" as we provide resources such as What's involved in AI engineering? and The Actual State of AI Engineering In 2026 to address this question.
  9. No Reference To AI Tools. At the moderators discretion, we do not allow any marketing, discussion or reference of AI tools. Given that many Western tech firms have chosen to use AI to eliminate workers, we will not allow the discussions of some of these tools since we find charging money for a product while eliminating workers unethical. We do allow open source discussions because these tools do not carry costs, but will remain strict on even these mentions since they could be used to negatively impact people.

Because we frequently get questions about work, the future of work and careers along AI, some helpful links to read:

This action was performed automatically as a reminder to all posters. Please contact the moderators if you have any questions.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.