ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Episode 2: Building AI for ERP. Contextualizing Data with RAG | Solving Hallucinations in ERPNext

Автор: ERPGulf

Загружено: 2026-01-14

Просмотров: 363

Описание: In this second episode of our AI series, we move beyond the initial server setup to explore the critical role of data preparation and contextualization.
We discuss why simply installing a model like Qwen is not enough to handle the complex requirements of an ERP system.

The Mechanics of Next-Word Prediction
Large Language Models function by finding the most probable next word or letter in a sequence. This process is based on the foundational concept of Attention from the paper Attention is All You Need, which allows models to process tokens and predict subsequent text through transformers. Without specific guidance, a model will choose the most statistically likely word based on its general training, which leads to inaccurate results in a specialized business setting.

The ERP Challenge: Why General AI Hallucinates
A standard LLM often provides incorrect but polite guesses, or hallucinations, when asked to write SQL for ERP systems because it lacks specific attention to your database structure. For example, a general model might try to select data from a table named customers, but in ERPNext, the correct table name is tabCustomer. Furthermore, models struggle with ambiguity; a user might ask about John or pens, but the system requires specific Customer Codes like T0034 or Item Codes like ITM-001 to execute a valid query. The problem is even greater with private apps and custom fields that are not published on GitHub, as the LLM has no way to guess these internal table and field names.

Reducing Hallucinations with RAG
To solve these issues and achieve accurate results, we implement Retrieval-Augmented Generation, or RAG. This architecture works in three specific stages:
1. Retrieval: The system retrieves specific facts from your local server, such as master table data, table names, field names, and the joins needed to connect them.
2. Augmentation: The original user question is enhanced or augmented with this retrieved metadata to provide the necessary context.
3. Generation: The LLM generates a precise response or SQL query grounded in these actual system facts rather than general probability.

The Role of Embedding Models
We use embedding models like Nomic-AI to convert words and schema into vectors, which are multi-dimensional numbers. These models allow the system to perform mathematical matching to find the nearest neighbor to a user's query among billions of parameters. By supplying the right context as vectors, we shift the mathematical weight so the model generates the correct business logic instead of a generic answer.

Why RAG Focuses on Schema over Transactions
While it might seem helpful to send millions of sales invoices as context, transaction data is far too massive for an LLM to process efficiently. Instead, we use RAG to provide the map—specifically master tables, field names, and joins—and then rely on SQL or ORM to calculate totals and sums from the actual records. This ensures the AI provides the correct query to handle the heavy data processing.

Key Topics Covered:
The fundamental logic of Transformers and Attention.
Why generic LLMs fail with private ERPNext apps and custom fields.
Using RAG to ground AI in master table data and specific schema.
The difference between processing transactions and providing context.
How embedding models like Nomic-AI manage mathematical vectors.

#ERPNext #AI #RAG #Qwen #MachineLearning #SQL #OpenSource #DataScience #Python #softwareengineering #erp

www.erpgulf.com

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Episode 2:  Building AI for ERP. Contextualizing Data with RAG | Solving Hallucinations in ERPNext

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

RAG vs Agentic AI: How LLMs Connect Data for Smarter AI

RAG vs Agentic AI: How LLMs Connect Data for Smarter AI

Episode 3: Technical Implementation—Fine-Tuning, Enriched Schemas, and Deployment

Episode 3: Technical Implementation—Fine-Tuning, Enriched Schemas, and Deployment

Representing Data using JavaScript Object Notation - JSON

Representing Data using JavaScript Object Notation - JSON

Почему AI генерит мусор — и как заставить его писать нормальный код

Почему AI генерит мусор — и как заставить его писать нормальный код

Mastering TypeScript Full Course | Beginner to Advanced | Trainer Adil Ahmed Shekhani

Mastering TypeScript Full Course | Beginner to Advanced | Trainer Adil Ahmed Shekhani

Building an AI Agent for ERPNext - By ERPGulf  - Episode-1

Building an AI Agent for ERPNext - By ERPGulf - Episode-1

ZATCA Intermediary Server for Legacy Systems , SAP, Oracle etc | Built on ERPNext

ZATCA Intermediary Server for Legacy Systems , SAP, Oracle etc | Built on ERPNext

Все стратегии RAG объясняются за 13 минут (без лишних слов)

Все стратегии RAG объясняются за 13 минут (без лишних слов)

RAG & MCP Fundamentals – A Hands-On Crash Course

RAG & MCP Fundamentals – A Hands-On Crash Course

Как понять RAG за 18 минут, даже если ты никогда не слышал про эмбеддинги

Как понять RAG за 18 минут, даже если ты никогда не слышал про эмбеддинги

КД 2 за 15 минут - универсальный обмен данными в 1С

КД 2 за 15 минут - универсальный обмен данными в 1С

NA ŻYWO: Prezydent Trump prosi o pomoc inne kraje w agresji na Iran

NA ŻYWO: Prezydent Trump prosi o pomoc inne kraje w agresji na Iran

Киев отказался от переговоров? / Президент уходит с поста?

Киев отказался от переговоров? / Президент уходит с поста?

Как AI меняет цикл разработки

Как AI меняет цикл разработки

AI Dev Day // 15 марта 2026

AI Dev Day // 15 марта 2026

20 концепций искусственного интеллекта, объясненных за 40 минут

20 концепций искусственного интеллекта, объясненных за 40 минут

System Design Concepts Course and Interview Prep

System Design Concepts Course and Interview Prep

Cybersecurity Architecture: Who Are You? Identity and Access Management

Cybersecurity Architecture: Who Are You? Identity and Access Management

Иран. Операция пошла не по плану

Иран. Операция пошла не по плану

Gemini Embedding 2 — КОНЕЦ Всему RAG?

Gemini Embedding 2 — КОНЕЦ Всему RAG?

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]