قبل از قضاوت درباره AI، برای دادههایتان قول عملیاتی بدهید
بسیاری از پاسخهای ضعیف AI از مدل شروع نمیشوند؛ از دادهای شروع میشوند که تازگی، کاملبودن و صاحب مشخص ندارد. چند SLO ساده میتواند محل واقعی مسئله را روشن کند.
فهرست مطالب
وقتی یک دستیار هوشمند جواب اشتباه میدهد، واکنش رایج خیلی سریع است: «مدل خوب نیست.» گاهی هم واقعاً مدل خوب نیست، پرامپت بد نوشته شده یا مسئلهای به آن دادهایم که اصولاً با این ابزار حل نمیشود. اما در بسیاری از پروژهها، مدل خیلی زود متهم اصلی میشود؛ در حالی که دارد با دادهای کار میکند که معلوم نیست آخرین بار چه زمانی بهروز شده، چه بخشی از آن جا افتاده و کدام تعریف کسبوکاری پشت آن قرار دارد.
این مسئله در سازمانها شکل آشنایی دارد. یک نفر میپرسد چرا توقف خط بالا رفته است. عامل هوشمند به فایل، داشبورد، ERP یا انبار داده وصل میشود و پاسخی مرتب تحویل میدهد. اما بعد معلوم میشود ثبتهای شیفت آخر هنوز وارد نشدهاند، بخشی از توقفها با کد «سایر» ثبت شدهاند، یا تعریف «توقف» میان تولید و نگهداری یکسان نیست. جواب مدل شاید از نظر زبان عالی باشد، اما از نظر عملیات روی زمینی سست ایستاده است.
مشکل را نباید با جمله کلی «دادهمان تمیز نیست» تمام کرد. این جمله معمولاً هیچکس را مسئول چیزی نمیکند و به هیچ تصمیمی هم کمک نمیکند. داده تمیز، یک آرزوی مبهم است. چیزی که لازم داریم، تعهد روشن و قابل پایش درباره دادهای است که قرار است خوراک AI باشد.
اینجا مفهوم SLO به کار میآید؛ یعنی سطحی از خدمت که برای آن هدف عملیاتی تعریف میکنیم. تیمهای نرمافزاری سالهاست برای دسترسپذیری، زمان پاسخ و نرخ خطای سرویسها از این زبان استفاده میکنند. همان منطق را میتوان برای کانال دادهای به کار برد؛ نه برای اینکه داده را شبیه سرویس نرمافزاری جا بزنیم، بلکه برای اینکه وضعیت آن از حالت حدس و شکایت خارج شود.
Data SLO یعنی پیش از آنکه از AI انتظار پاسخ قابل اتکا داشته باشیم، مشخص کنیم داده چه کیفیت عملیاتی حداقلی باید داشته باشد. این تعهد میتواند درباره تازگی داده، کاملبودن رکوردها، نرخ خطا، امکان ردیابی منشأ داده و زمان رفع نقص باشد. نکته مهم این است که هر مورد باید قابل اندازهگیری، قابل مشاهده و دارای مسئول مشخص باشد.
تازگی یا freshness سادهترین نقطه شروع است. اگر دستیار شما قرار است درباره موجودی، سفارش، توقف خط یا وضعیت مشتری پاسخ بدهد، باید بدانید داده با چه تأخیری قابل استفاده میشود. لازم نیست از روز اول دنبال تأخیر نزدیک به صفر باشید. باید بدانید نیاز واقعی تصمیم چیست. برای یک گزارش مدیریتی شاید داده روز قبل کافی باشد. برای واکنش به توقف خط، همان تأخیر میتواند تصمیم را بیفایده کند.
یک SLO تازهبودن میتواند به زبان ساده این باشد: داده توقف خط باید حداکثر تا یک بازه مشخص پس از ثبت رخداد در منبع تحلیلی قابل استفاده باشد. ارزش این جمله در عدد ظاهراً دقیقش نیست؛ در این است که بعداً میتوان دید آیا این تعهد رعایت شده یا نه. اگر رعایت نشده، عامل هوشمند نباید با همان لحن مطمئن درباره وضعیت فعلی خط نتیجهگیری کند.
کاملبودن یا completeness قدم بعدی است. در عمل، همه ستونها به یک اندازه مهم نیستند. ممکن است یک جدول هزاران فیلد داشته باشد، اما برای تحلیل توقف فقط چند فیلد حیاتی باشند: زمان شروع، زمان پایان، خط، علت، شیفت و وضعیت تأیید. اگر یکی از اینها خالی باشد، شاید رکورد از نظر فنی وجود داشته باشد اما از نظر تصمیمگیری ناقص باشد.
پس بهجای سنجش کلی کیفیت جدول، برای فیلدهای حیاتی آستانه تعریف کنید. مثلاً بگویید چه سهمی از رکوردهای یک بازه باید این فیلدها را داشته باشند تا داده برای تحلیل قابل اتکا تلقی شود. باز هم هدف، ساختن یک استاندارد تزئینی نیست. هدف این است که AI و انسان هر دو بدانند از کجا به بعد نباید با قطعیت حرف بزنند.
سومین مورد، نرخ خطای رکورد است. خطا فقط مقدار خالی نیست. زمان پایان قبل از زمان شروع، کد علتی که دیگر معتبر نیست، مقدار منفی در یک کمیت غیرمنطقی، ثبت تکراری یک رخداد یا ترکیب نامعتبر دو وضعیت، همگی نمونه خطا هستند. این قواعد باید از واقعیت فرآیند بیایند، نه از سلیقه تیم داده. کسی که فرآیند را میشناسد باید کنار کسی بنشیند که داده را میبیند.
چهارمین SLO که اغلب دیر دیده میشود، پوشش lineage یا تبار داده است. وقتی عامل میگوید «دلیل اصلی افزایش توقف، فلان مورد بوده»، باید بتوان فهمید این نتیجه به کدام منبع، کدام جدول، کدام تبدیل و کدام تعریف متکی است. اگر مسیر رسیدن داده به پاسخ معلوم نباشد، بازبینی پاسخ تبدیل به دعوا میشود. هر واحد از زاویه خودش حق دارد و کسی نمیتواند مسئله را باز کند.
لازم نیست از ابتدا یک معماری عظیم تبارشناسی داده بسازید. برای مهمترین منبعی که به AI وصل کردهاید، از یک نقشه ساده شروع کنید: داده از کجا میآید، چه کسی آن را ثبت میکند، چه تبدیلهایی روی آن انجام میشود، کجا ذخیره میشود و کدام تعریف کسبوکاری برای تفسیرش معتبر است. این نقشه باید به اندازهای عملی باشد که هنگام اختلاف، مسیر بررسی را کوتاه کند.
پنجمین SLO، زمان تعهدشده برای رفع نقص است. بسیاری از تیمها هشدار دارند، داشبورد دارند و حتی خطا را هم میبینند؛ اما معلوم نیست بعد از کشف نقص چه کسی باید چهکار کند و تا چه زمانی. هشدار بدون مالک و موعد، فقط یک صدای دیگر در سازمان است. برای هر دسته نقص مهم، یک مسئول عملیاتی و یک مسیر تشدید مشخص کنید.
اینجا معمولاً مقاومت شروع میشود. واحدها میگویند داده متعلق به همه است، یا برعکس، مسئولیت را کامل به گردن تیم فناوری میاندازند. هر دو نگاه خطرناک است. مالک سیستم ثبت، مالک معنای کسبوکاری، مالک انتقال داده و مصرفکننده AI نقشهای متفاوتی دارند. شاید یک نفر همه این نقشها را نداشته باشد، اما نباید هیچکدام بیصاحب بماند.
بعد از تعریف SLOها، بخش مهمتر شروع میشود: رفتار AI هنگام نقض آنها. اگر داده تازه نیست، دستیار نباید وانمود کند وضعیت لحظهای را میداند. اگر کاملبودن زیر آستانه است، باید پاسخ را با هشدار عدم قطعیت ارائه کند، دامنه تحلیل را محدود کند یا اصلاً از نتیجهگیری خودداری کند. این عقبنشینی ضعف سیستم نیست؛ نشانه بلوغ آن است.
برای بعضی تصمیمها، بهترین واکنش AI این است که فقط سؤال روشنکننده بپرسد. مثلاً بگوید داده شیفت اخیر هنوز کامل نشده و برای تحلیل قابل اتکا نیست؛ آیا تحلیل را بر مبنای آخرین بازه تأییدشده ادامه دهم؟ برای بعضی تصمیمهای حساستر، باید پاسخ تحلیلی متوقف شود و موضوع به انسان ارجاع داده شود. این سیاستها باید پیش از بحران تعیین شوند، نه بعد از یک پاسخ دردسرساز.
اگر با n8n یا ابزارهای اتوماسیون مشابه کار میکنید، اجرای اولیه این ایده پیچیده نیست. یک جریان میتواند زمان آخرین بهروزرسانی را بررسی کند، درصد خالیبودن فیلدهای حیاتی را بشمارد، قواعد خطای رکورد را اجرا کند و نتیجه را در یک جدول پایش ذخیره کند. جریان دیگری میتواند در صورت عبور از آستانه، به مالک داده اطلاع دهد و همزمان یک پرچم وضعیت برای دستیار هوشمند بهروزرسانی کند.
نکته مهم این است که کنترل کیفیت را فقط در انتهای خط قرار ندهید. اگر دستیار فقط هنگام پاسخگویی تازه بفهمد داده مشکل دارد، دیر متوجه شدهاید. پایش باید مستقل و پیوسته باشد؛ درست مثل نگاهکردن به وضعیت یک سرویس پیش از آنکه مشتری زنگ بزند. AI باید مصرفکننده این وضعیت باشد، نه تنها کشفکننده آن.
برای هفته اول، لازم نیست همه منابع داده را وارد این برنامه کنید. یک مورد را انتخاب کنید که هم تصمیم مهمی را تغذیه میکند و هم امروز به AI یا گزارشهای تحلیلی متصل است. مثلاً داده توقف خط، وضعیت سفارش، موجودی یک گروه کالای حساس یا پروندههای خدمات پس از فروش. اگر از همان ابتدا سراغ همهچیز بروید، احتمالاً فقط یک پروژه حکمرانی سنگین میسازید که کسی از آن استفاده نمیکند.
برای همان منبع، سه تا پنج SLO بنویسید: حداکثر تأخیر قابل قبول، حداقل کاملبودن فیلدهای حیاتی، سقف نرخ خطای قواعد مشخص، حداقل پوشش مسیر منشأ تا مصرف، و زمان رفع نقض. کنار هرکدام بنویسید چگونه سنجیده میشود، چه کسی مالک اقدام است و AI در صورت نقض دقیقاً چه رفتاری دارد. اگر نمیتوانید این سه مورد را بنویسید، هنوز SLO ندارید؛ فقط یک نیت خوب دارید.
بعد از یک یا دو هفته، بهجای پرسیدن اینکه AI چند درصد دقیق بوده، ابتدا این را نگاه کنید: چند بار پاسخ بر پایه داده خارج از تعهد داده شده است؟ چند بار دستیار هشدار درست داده؟ کدام نقص بیشترین تکرار را داشته؟ چه کسی آن را رفع کرده و چقدر طول کشیده؟ این سؤالها شاید جذابیت نمایش یک پاسخ هوشمند را نداشته باشند، اما همانها تعیین میکنند آیا سیستم در عملیات قابل اعتماد میشود یا نه.
دقت مدل همچنان مهم است. ارزیابی پاسخ، طراحی پرامپت، کنترل دسترسی، بازبینی انسانی و انتخاب ابزار، همه جای خودشان را دارند. اما وقتی ورودی بیتعهد است، سنجش مدل شبیه قضاوت درباره رانندهای است که پشت فرمان خودرویی با داشبورد خراب نشسته. ممکن است گاهی درست براند، اما شما نمیدانید بر چه اساسی به او اعتماد کردهاید.
سازمانی که میخواهد AI را جدی وارد کار کند، باید از یک سؤال ناخوشایند شروع کند: آیا برای دادهای که مدل از آن تغذیه میکند، کسی قول عملیاتی داده است؟ نه قول کلی برای بهترشدن، نه اسلایدی درباره کیفیت داده؛ یک تعهد قابل سنجش با مالک، هشدار و واکنش مشخص. تا وقتی جواب این سؤال روشن نیست، هر بحثی درباره هوشمندی مدل، کمی زود است.
سیستمهای هوش مصنوعی اغلب پاسخهای ضعیف را به دلایلی تولید میکنند که پیش از درگیرشدن مدل آغاز شدهاند. کار واقعی این است که وضعیت داده ورودی را قابل مشاهده، قابل اندازهگیری و دارای مالک مشخص کنیم.
When an intelligent assistant gives a wrong answer, the common reaction comes quickly: “The model is not good.” Sometimes the model really is not good, the prompt is poorly written, or we have given it a problem that this tool cannot solve in the first place. But in many projects, the model becomes the main suspect too soon, while it is working with data whose last update is unknown, whose missing parts are unclear, and whose business definition is unsettled.
This problem takes a familiar form inside organizations. Someone asks why line downtime has increased. The intelligent agent connects to files, dashboards, an ERP, or a data warehouse and produces a polished answer. Then it turns out that the latest shift records have not arrived yet, some downtime events were logged under “other,” or production and maintenance do not share the same definition of downtime. The model’s answer may be excellent linguistically, but operationally it stands on unstable ground.
We should not end the discussion with the broad statement that “our data is not clean.” That sentence usually makes nobody responsible for anything and helps no decision. Clean data is a vague wish. What we need is a clear, observable commitment about the data that will feed AI.
This is where the idea of an SLO becomes useful: a defined operational target for a service level. Software teams have used this language for years around availability, response time, and service error rates. The same logic can be applied to a data channel, not to pretend that data is a software service, but to move its condition out of guesswork and complaint.
A Data SLO means that before expecting reliable answers from AI, we define the minimum operational condition that the data must meet. The commitment can cover freshness, record completeness, error rate, data lineage coverage, and the time to resolve defects. The important point is that every item must be measurable, observable, and assigned to a clear owner.
Freshness is the simplest place to start. If your assistant is expected to answer questions about inventory, orders, line downtime, or customer status, you need to know how much delay is acceptable before the data can be used. You do not need to pursue near-zero latency on day one. You need to understand what the real decision requires. Data from the previous day may be enough for a management report. For a response to line downtime, that same delay can make the decision useless.
A freshness SLO can be stated simply: line-downtime data must be usable in the analytical source within a defined period after an event is recorded. The value of this sentence is not in a seemingly precise number. It is in the fact that you can later see whether the commitment was met. If it was not, the intelligent agent should not speak with the same confidence about the current state of the line.
Completeness is the next step. In practice, not every column matters equally. A table may contain thousands of fields, but for downtime analysis only a few may be critical: start time, end time, line, reason, shift, and approval status. If one of these is empty, the record may technically exist while remaining incomplete for decision-making.
So instead of measuring the quality of an entire table in the abstract, define a threshold for critical fields. State what share of records in a period must contain those fields before the data is considered reliable enough for analysis. Again, the goal is not to create a decorative standard. The goal is for both AI and people to know where certainty should stop.
The third item is the record error rate. An error is not only a blank value. An end time before a start time, a reason code that is no longer valid, a negative value for an implausible quantity, a duplicate event, or an invalid combination of two statuses are all examples of errors. These rules must come from the reality of the process, not the preference of the data team. The person who understands the process needs to sit beside the person who sees the data.
The fourth SLO, often noticed too late, is lineage coverage. When an agent says, “The main reason for the increase in downtime was this issue,” it should be possible to understand which source, table, transformation, and definition that conclusion relies on. If the route from data to answer is unclear, reviewing the answer becomes an argument. Every department is right from its own perspective, and nobody can unpack the issue.
You do not need to build a massive data-lineage architecture from the beginning. For the most important source connected to AI, start with a simple map: where the data comes from, who records it, what transformations are applied, where it is stored, and which business definition is valid for interpreting it. The map needs to be practical enough to shorten the investigation when disagreement arises.
The fifth SLO is the committed time to resolve a defect. Many teams have alerts, dashboards, and even visibility into errors, but it is unclear who must do what after a defect is found and by when. An alert without an owner and a deadline is just another sound in the organization. For every important category of defect, define an operational owner and an escalation path.
This is usually where resistance begins. Departments say that data belongs to everyone, or, conversely, they place the entire responsibility on the technology team. Both views are risky. The owner of the recording system, the owner of business meaning, the owner of data transfer, and the AI consumer have different roles. One person may not hold all of them, but none of them should be left ownerless.
After defining the SLOs, the more important part begins: AI behavior when they are violated. If the data is not fresh, the assistant should not pretend that it knows the live situation. If completeness falls below the threshold, it should present the answer with an uncertainty warning, limit the scope of analysis, or refuse to draw a conclusion altogether. This retreat is not a weakness of the system; it is a sign of maturity.
For some decisions, the best AI response is simply to ask a clarifying question. It might say that the latest shift data is not yet complete and cannot support a reliable analysis; should it continue based on the last confirmed period? For more sensitive decisions, analytical output should stop and the issue should be referred to a person. These policies must be set before a crisis, not after a troublesome answer.
If you work with n8n or similar automation tools, the initial implementation of this idea is not complicated. One workflow can check the time of the latest update, calculate the share of missing critical fields, run record-error rules, and store the result in a monitoring table. Another workflow can notify the data owner when a threshold is crossed while updating a status flag for the intelligent assistant.
The important point is not to place quality control only at the end of the line. If the assistant discovers a data problem only when it is answering a question, you have noticed too late. Monitoring should be independent and continuous, much like watching the condition of a service before a customer calls. AI should consume this status, not be its only detector.
For the first week, you do not need to include every data source in this program. Choose one source that feeds an important decision and is already connected to AI or analytical reporting today. It might be line-downtime data, order status, inventory for a sensitive product group, or after-sales service cases. If you try to cover everything from the start, you will probably build a heavy governance project that nobody uses.
For that one source, write three to five SLOs: the maximum acceptable delay, the minimum completeness of critical fields, the ceiling for defined rule-based errors, the minimum coverage of the route from origin to consumption, and the resolution time for a breach. Next to each one, write how it is measured, who owns the action, and exactly how AI behaves when it is breached. If you cannot write these three things, you do not have an SLO yet; you only have a good intention.
After one or two weeks, instead of asking what percentage accurate the AI was, look at this first: how often were answers given using data outside its commitment? How often did the assistant issue the right warning? Which defect repeated most often? Who resolved it, and how long did it take? These questions may lack the appeal of demonstrating an intelligent answer, but they determine whether the system becomes reliable in operations.
Model accuracy still matters. Answer evaluation, prompt design, access control, human review, and tool selection all have their place. But when the input carries no commitment, evaluating the model is like judging a driver behind the wheel of a car with a broken dashboard. The driver may sometimes steer correctly, but you do not know what your trust is based on.
An organization that wants to bring AI seriously into its work should start with an uncomfortable question: has anyone made an operational promise for the data that feeds the model? Not a broad promise to improve, and not a slide about data quality, but a measurable commitment with an owner, an alert, and a defined response. Until the answer is clear, every conversation about model intelligence is a little premature.
AI systems often produce poor answers for reasons that begin before the model is even involved. The real work is to make the condition of input data visible, measurable, and owned.
اگر این موضوع شبیه مسئله واقعی کسبوکار توست، از چکاپ تصمیم شروع کن.
یک مسیر کوتاه برای روشنکردن مسئله، گلوگاه تصمیم و قدم بعدی؛ بدون فرم طولانی و بدون تعهد.


