Практика Shadowing: AI Agents vs Business Rules: Which Should Make Decisions? - Изучайте разговорный английский по видео

Создание урока...
1
Both business rules and AI agents are ways to automate a decision.
2
So maybe that's to approve a refund or maybe to flag a transaction, but they go about this in different ways.
3
So my question to you is this.
4
Have AI agents superseded business rules or do they both have their place?
5
And what's the difference between these things anyway?
6
Well, let's start with business rules.
7
And business rules run in a business rules engine.
8
That has logic that a person wrote down explicitly, a person like me.
9
So here's a business rule.
10
We could say, if we have an order that is less than 30 days old, and we also have a condition here, which is the item.
11
Was not marked as a final sale.
12
So if and, and we've got a then, the then is we would actually approve the refund.
13
That is a business rule and that rule has conditions and an action.
14
Now an AI agent doesn't necessarily work from rules that are written down.
15
It works a bit differently because with an AI agent you give it a goal and you give it some context of the situation and you also give it access to some tools that it's allowed to call.
16
And the agent works out the steps itself.
17
So instead of providing rules for a refund it's more like hey here's the customer and here's the order policy and here's the customer's order history.
18
Now you sort it out Mr. AI agent, it's up to you.
19
So which one should be making the decision?
20
Well, one thing about a rules engine is you get a consistent and predictable answer.
21
It checks against conditions, against facts.
22
So if the fact is that an order let's say is 12 days old, that's a fact.
23
And if there is a fact that the order was not marked as a final sale, well then the condition comes from the rule.
24
It's under 30 days, it was not a final sale, both are true.
25
So the rule resolves as approve this condition, approve the refund.
26
There's not any guesswork here because it's simple boolean logic.
27
The order is either under 30 days or it is not and that's what deterministic means, the output is a fixed function of the input and business rules are deterministic.
28
Now AI agents don't work like this because they are built with large language models and we know that a large language model predicts next tokens.
29
So given the order and the policy and the goal, the model works out a response from patterns that it's picked up in training and it's doesn't necessarily fix on one final answer.
30
It's working from a probability distribution over possible responses and picking from it.
31
So for something like this, approve is still the most likely outcome, but deny as an outcome still has some probability as well.
32
And that makes AI agents probabilistic.
33
Whereas the rule engines evaluates a fixed condition.
34
The agent picks from a range of likely answers, which is why you can run the same request twice and get different calls.
35
So that's the split.
36
Rules engine, deterministic, the agent, probabilistic.
37
So when to use each one?
38
Well, business rules are used when the decision is well-defined, meaning you can define the logic ahead of time.
39
So the refund policies are pretty good example of that.
40
But then so is something like a loan eligibility check or an insurance pricing tier.
41
Anything where the inputs are structured and you already know what the answer should be.
42
And then in regulated work, there's another reason as well.
43
The rule that was processed is by its very definition, also the explanation.
44
A rules engine points at the exact condition that triggered the decision.
45
So that is great for audits.
46
And there's also determinism which helps with testing.
47
Each branch can be unit tested and it will behave the same way in production.
48
It also runs without a model call so there is no AI inference cost.
49
So there's lots of advantages here to business rules.
50
Now AI agents are for when the logic cannot be written down ahead of time because the result all depends upon understanding the context of a situation.
51
Now the input can be messy or it can be unstructured or maybe there's just a case that nobody anticipated.
52
So should a refund actually be approved?
53
If it turns out I sent back my order of dumbbells for being too heavy, which is arguably the point of dumbbells.
54
That sort of thing is the wheelhouse of AI agents judgment, judging the merits of a reason for a return.
55
That's not really something that's easily captured in deterministic pre-defined rules.
56
So look, that's the the trade-off.
57
A rules engine only handles what was anticipated.
58
It will struggle to handle an input that nobody has a rule for, whereas an agent will generalize because it's working from patterns instead of a fixed branch.
59
So back to the question we started with.
60
Have AI agents superseded business rules?
61
Well, in a lot of real systems, the answer is actually to run the two together.
62
It's just a hybrid approach where you end up using both.
63
So let's fill in this flow with a hybrid solution so we can see what it might look like.
64
So at the top here we start with the request which has come In.
65
And the first thing in the process flow is we're going to navigate to the rules engine.
66
So we'll come down to here.
67
Now why rules first and not an agent first?
68
Well, because rules are comparatively cheap and they're quick to run.
69
So the rules engines checks the request against the policy and then it will determine an action, basically what we should do.
70
So the order is 12 days old, it's not a final sale.
71
That would mean it's under the auto approve limit.
72
And we are going to go down here to the final decision.
73
And that final decision will be to approve that request.
74
That's nice and easy.
75
And if something is clearly outside of the policy, then instead of approving that request, we would decline the request.
76
But that's the decision right there.
77
We're basically done.
78
And most refunds and decisions are gonna be clear cut like this.
79
It's only when the rules can't decide that the request instead will go down this pass where it will be escalated and it's escalated to an AI agent.
80
And there's usually a couple of reasons for that kind of escalation.
81
Now the first is that the data itself is going to need some additional work.
82
So a rule needs clean structured facts to check like an order age or a final sale flag, but plenty of refund requests they're going to turn up with data that's not all that clean.
83
They're going have a bunch of unstructured input like a a paragraph of free text or maybe a picture.
84
Rules engines they by and large work best with structured data, and the agent can also make use of tools as well.
85
Now it might call a vision model to look at that photo of a defective blender or to to query the order system for the customer's purchase history for example, but the agent will work out which tools the situation calls for and in which order those tools should be called and it does this without being scripted in advance.
86
So at that point an agent can recommend a decision of its own, but it might not get the final word because its recommendation is then going to go down to a set of deterministic guardrails where it will then be evaluated.
87
So a guardrail might specify where anything the agent green lights above a certain threshold should actually route somewhere else.
88
It should go first of all to this box here which is human in the loop before the final decision is ultimately reached.
89
It's under a certain threshold it can go directly to the decision.
90
So we have the potential to check the agent's judgment with a real person in situations where the stakes are highest.
91
So no, agents have not superseded hard-coded business rules, but they can work pretty well with them particularly when the data is messy or when we need judgment or where tool calling can expand the context.
92
Ultimately, the two together can help make better decisions.

Лексика и советы по произношению к этому уроку

В этом видео 92 предложений и 1411 слов для шедоуинга. Речь длится 10:12. Говорящий держит ровный темп — около 138 слов в минуту, удобный для шедоуинга. 86% слов входят в 3000 самых частых слов английского языка; остальные стоит разобрать перед занятием.

Ключевая лексика этого видео

15 менее частых слов из видео с произношением и значением:

  • approve /əˈpɹuːv/ (глагол) — утвержда́ть, утверди́ть. To officially sanction; to ratify; to confirm; to set as satisfactory.
  • refund /ɹɪˈfʌnd/ (существительное) — компенса́ция, возмеще́ние. An amount of money returned.
  • input /ˈɪnpʊt/ (существительное) — вклад. The act or process of putting in; infusion.
  • define /dɪˈfaɪn/ (глагол) — определя́ть, определи́ть. To determine with precision; to mark out with distinctness; to ascertain or exhibit clearly.
  • judgment /ˈd͡ʒʌd͡ʒ.mənt/ (существительное) — осужде́ние, сужде́ние. The act of judging.
  • necessarily /ˌnɛs.əˈsɛɹ.ə.li/ (наречие) — обяза́тельно. Inevitably; of necessity.
  • whereas /(h)wɛɹˈæz/ — тогда́ как, в то вре́мя как. In contrast; whilst on the contrary; although.
  • outcome /ˈaʊtkʌm/ (существительное) — исход. That which is produced or occurs as a result of an event or process.
  • hybrid /ˈhaɪ.bɹɪd/ (существительное) — гибри́д, по́месь. Offspring resulting from cross-breeding different entities, e.g. two different species or two purebred parent strains.
  • threshold /ˈθɹɛʃ(h)oʊld/ (существительное) — поро́г. The lowermost part of a doorway that one crosses to enter; a sill.
  • probability /ˌpɹɑ.bəˈbɪl.ə.ti/ (существительное) — вероя́тность, правдоподо́бие. The state of being probable.
  • evaluate /ɪˈvaljʊeɪt/ (глагол) — оце́нивать, оцени́ть. To draw conclusions from examining; to assess; to appraise.
  • messy /ˈmɛsi/ (прилагательное) — беспоря́дочный, гря́зный. In a disorderly state; chaotic; disorderly.
  • anticipate /ænˈtɪs.ɪ.peɪt/ (глагол) — опережа́ть, опереди́ть. To act before (someone), especially to prevent an action.
  • consistent /kənˈsɪs.tənt/ (прилагательное) — после́довательный. Of a regularly occurring, dependable nature.

Фразовые глаголы, которые вы услышите

  • work out /ˌwɝk ˈaʊt/ (глагол) — рассчи́тывать, рассчита́ть. To calculate.
  • write down (глагол) — запи́сывать, записа́ть. To produce or set (something) down in writing; to record something.
  • go down (глагол) — спуска́ться, спусти́ться. To descend; to move from a higher place to a lower one.
  • come down to (глагол) — спадать до. To reach by moving down or reducing.
  • come in /ˌkʌm ˈɪn/ (глагол) — вступа́ть, вступи́ть. To enter.
  • end up (глагол) — зака́нчиваться, зако́нчиться. To bring to a conclusion.
  • fill in (глагол) — дава́ть бо́лее по́лную информа́цию. To fill; to replace material that is absent or has been removed.
  • go about (глагол) — циркули́ровать. To busy oneself with.

Произношение, на которое стоит обратить внимание

Говорящий использует 12 сокращённых и редуцированных форм, например they're, doesn't, we're. Произносите их коротко, так, как слышите.

  • Звуки «sh» и «zh»: threshold /ˈθɹɛʃ(h)oʊld/, explanation /ˌɛkspləˈneɪʃən/, capture /ˈkæp.(t)ʃɚ/, transaction /tɹænˈzækʃən/, recommendation /ˌɹɛkəmɛnˈdeɪʃən/
  • Длинные слова — следите за ударением: necessarily /ˌnɛs.əˈsɛɹ.ə.li/, probability /ˌpɹɑ.bəˈbɪl.ə.ti/, anticipate /ænˈtɪs.ɪ.peɪt/, explanation /ˌɛkspləˈneɪʃən/, differently /ˈdɪf.ə.ɹənt.li/

Как заниматься с этим видео

  1. Прослушайте всё видео один раз молча и выпишите незнакомые слова.
  2. Повторяйте предложение за предложением на обычной скорости, пока ваш ритм не совпадёт с ритмом говорящего.
  3. Запишите себя и сравните с оригиналом, обращая внимание на такие слова, как approve, refund, input.

Грамматика в этом видео

Конструкции, которые говорящий использует чаще всего, с точными словами из видео:

КонструкцияВ видео
Пассивный залог be + причастие прошедшего времени — важно, что происходит, а не кто это делаетWas not marked · are written · are built
Придаточные определительные who / which + предложение — уточнение о человеке или предметеhere, which is · answers, which is · heavy, which is
Present Perfect have/has + причастие прошедшего времени — прошлое действие, важное сейчасhas come · have not superseded

Что такое техника Shadowing?

Shadowing — это научно обоснованная техника изучения языка, изначально разработанная для подготовки профессиональных переводчиков и популяризированная полиглотом доктором Александром Аргуэльесом. Метод прост, но эффективен: вы слушаете аудио на английском от носителей языка и немедленно повторяете вслух — как тень, следующая за говорящим с задержкой в 1–2 секунды. В отличие от пассивного прослушивания или грамматических упражнений, Shadowing заставляет мозг и мышцы рта одновременно обрабатывать и воспроизводить реальные речевые паттерны. Исследования показывают, что это значительно улучшает точность произношения, интонацию, ритм, связную речь, понимание на слух и беглость речи — что делает его одним из самых эффективных методов для подготовки к IELTS Speaking и реального общения на английском.

Техника шедоуинга: читать полное пошаговое руководство →