Skip to content

Do I need a smarter model… or a model that knows my organization better?

Share
Do I need a smarter model… or a model that knows my organization better?

The fifth article in the Artificial Intelligence and Workplace Transformation series

Did I search for the wrong model?

After learning in previous articles how to talk to artificial intelligence, how its outputs and hallucinations affect our decisions, I believe the time is right to look at the topic from a different angle.

Every time a new AI model appears, I find myself asking the same question:

Is it time to change the model I use?

We compare models, their analytical and inferential abilities, response speed, and usage cost.

But I began to ask myself an opposite question:

Is the problem really in the model, or am I asking it to know things it has not had the chance to see?

Why focus on upgrading the model when I have not yet worked on developing the informational environment it operates within?

Perhaps I was looking for a solution in the wrong place.

There is a difference between being smart and having knowledge

Imagine I am interviewing engineers.

The first has excellent analytical skills and broad scientific experience, but knows nothing about the organization they will work for.

The second may have less analytical ability, but knows the nature of the organization’s services, its contracts, and its internal systems.

Which of them would give a better answer to a question about working inside the organization?

The answer depends on the nature of the question.

This analogy helps us understand the difference between a model’s ability and the knowledge available to it.

When we work with a large language model (LLM), we are dealing with a model that has undergone training, during which it learned patterns and relationships from large amounts of data.

The results of that training are reflected in numerical values called model weights, which influence how it processes information and generates answers.

But the model’s knowledge does not necessarily function as a library that can open any book and retrieve its text accurately.

From a user’s perspective, we can distinguish three sources of information the model uses:

  • Parametric Knowledge:What it acquired during training.
  • In-context Information:What we provide it during use, such as instructions and documents.
  • Retrieved Knowledge:Information the system obtains from external sources when needed and adds to the model’s context.

Here is an important point:

The fact that a model can access information does not mean it has learned it or that it has become a permanent part of its weights.

This difference opens entirely new possibilities for us.

From Prompt Engineering to Context Engineering

In the third article we discussed prompt engineering and how we can express what we want in a way that makes the model produce outputs closer to our needs.

But what if the task is no longer just a question we pose in a conversation?

صورة مولّدة بالذكاء الاصطناعي · AI Gossips

What if we want to build a system used by hundreds of employees, dealing with multiple documents, and providing different answers depending on the project’s nature and the user’s permissions?

Here we move to a broader concept calledContext Engineering.

It is the design of the informational environment in which the model operates, including instructions, documents, retrieved information, and the tools available to it while performing a task.

In prompt engineering I asked myself:

How do I explain to the model what I want?

In context engineering I began to ask:

How do I make the appropriate information available to the model when it needs it, without having to explain everything from scratch each time?

The difference between the two questions, in my view, marks the beginning of the shift from individual AI use to building enterprise AI applications.

When the model faces an open-book exam

I remember the difference between a traditional exam and an open-book exam.

In the first, you rely essentially on what you have learned before.

In the second, you can refer to sources while answering.

But having the book in front of you does not mean you will answer correctly; you first have to find the right page.

This analogy brings us closer to understanding a key technique calledRetrieval-Augmented Generation (RAG).

When a user asks a question, the system searches within available knowledge sources, retrieves the parts related to the question, and presents them to the model so it can use them to build the answer.

But how does the system find the right part among thousands of documents?

Here semantic search comes into play, which helps search by meaning, not just literal word matching.

So if you search for “postponing the inspector’s visit,” the system may find a document that talks about “rescheduling field inspection services.”

The words differ, but the meaning is close.

Some of these systems use what are called vector embeddings, which are numerical representations of texts that help measure semantic similarity between them.

The system may combine semantic search with keyword search to obtain more relevant results.

I no longer need to know the document’s name, its storage location, or the exact phrase used inside it.

I can ask the question in my natural language, while the system handles the task of searching for related content.

But finding similar content does not necessarily mean finding the correct content.

To understand this point, let’s move to a practical example.

صورة مولّدة بالذكاء الاصطناعي · AI Gossips

A question’s journey inside an organization

Suppose an engineering inspection company provides services to clients inside the same factory, and both operate in the pipe manufacturing field.

But the scope of work differs between the two contracts.

The first contract includes attending external paint inspection work, while the second contract covers reviewing paint documents only, without on-site attendance.

A request arrived to assign an inspector to attend the second client’s paint work.

Here I ask the AI system:

“Is attending the paint work included in our services for this client?”

How does the system handle the question?

First, it needs to identify the client and the intended project, either from the question itself or from information linked to the user and the task.

Then it searches within the documents it is authorized to access.

But the two contracts contain very similar terms. Therefore, relying solely on semantic similarity may not be sufficient.

Here metadata comes into play, such as client number, project number, contract version, and signature date.

These data help the system narrow the search scope and retrieve the document linked to the required project.

After that, the retrieved text is passed to the language model to craft the answer:

“According to the second client’s scope of work, the service includes reviewing paint documents only and does not include on-site attendance for paint work.”

With a reference to the document and the text it was based on.

We did not need a more specialized paint-technology model.

Nor did we need an engineering explanation of the importance of having an inspector during this phase.

We needed a system that could identify the appropriate information among similar ones.

That is the practical value of context engineering.

The result here can help organize assignments, distribute inspectors, and determine whether a client’s request requires an additional service.

The same logic can be applied inside a bank, a hospital, or an insurance company when an employee needs information related to a specific service, contract, or internal policy.

Do we really need to retrain the model?

When a company hears about the possibility of building its own AI system, the first thing they may think is training the model on its documents.

But do they really need it?

There is a difference between modifying how the model works and providing it with information.

صورة مولّدة بالذكاء الاصطناعي · AI Gossips

I can, for example, use custom instructions to set the answer style, terminology, and format that fit the organization.

I can also use RAG to provide documents and changing information when needed.

There is also fine-tuning, which is additional training that changes the model weights to improve its performance or behavior on specific tasks.

These methods can combine, but they do not perform the same function.

So if the client’s contract scope changes tomorrow, it makes sense to update the information source the system retrieves from, rather than retraining the model with every contractual change.

If we want to improve the model’s ability to perform a specialized, repetitive task, fine-tuning might be a worthwhile option.

The issue is not a race to use the most complex technology.

It is the choice of the technology that solves the real problem.

Sometimes you do not need to teach the model the whole book again; you only need to put the right book in front of it.

What it means to you

If I think today about introducing AI into an organization, my first question will not be: which is the strongest model available?

I will start by defining the tasks I want it to perform, the information it needs, the sources of that information, and how it will obtain it.

Then I will choose the model and the appropriate technologies for that purpose.

This order seems simple, but it changes the starting point entirely.

Instead of buying technology and then searching for a suitable use, I begin with the organization’s needs, then build the system that serves them.

And perhaps we have been asking the wrong question all along.

We were asking:

What does artificial intelligence know?

While we should also ask:

What do we give it to reach, and how?

But before building a system that can search inside an organization’s knowledge, there is another question we must face.

Is the information inside our organizations organized in a way that makes it usable? Are the documents we keep truly knowledge, or just records of finished work?

This is the question I want to move to in the next article:

We have thousands of documents… but we have?


About the author: Khalid Saleh, inspection and quality monitoring consultant and metallurgical engineer with over twenty years of experience in asset safety, inspection, and corrosion control in the energy and industry sectors, working from Riyadh to automate inspection workflows with AI.

Don't miss the next story

Subscribe for updates