The short answer
Not in the strict sense used in classic AI. An inference engine is the part of a rule-based system that applies rules to a knowledge base to reach new conclusions. ChatGPT is a neural network language model. It runs inference when it answers, but it is not a rule engine.
Some people use the term loosely. In that looser sense, the answer depends on the definition being used.
What an inference engine is
In an expert system, knowledge is stored as facts and if-then rules. The inference engine decides which rules apply, and in what order, and derives new facts from them. For example, a rule might say that if a package is marked as delivered, the order is complete. Given that fact, the engine concludes the order is complete.
An inference engine can work forward from known facts or backward from a goal. Those two strategies, forward and backward chaining, are explained in types of inference in artificial intelligence.
What ChatGPT is
ChatGPT is a chatbot built on a large language model. A large language model is a neural network trained on very large amounts of text. It does not store a list of if-then rules and apply them to reach answers. Its behavior comes from numerical parameters learned during training.
When ChatGPT answers a prompt, the model runs a calculation with its fixed parameters to predict the next piece of text, one piece at a time. That calculation is inference in the machine learning sense. So ChatGPT does run inference, but that does not make it an inference engine in the rule-based sense. For more on this sense of the word, see what is inference in the context of AI models.
Why the term causes confusion
Both senses use the word inference, and both describe a system that turns inputs into conclusions. The difference is how. A rule-based inference engine follows explicit rules, which people can read and check. A neural language model produces its output from learned numbers, so its reasoning is not a readable list of rules.
The looser usage
Some writers apply the term to any system that runs inference. Under that wording, ChatGPT could be called an inference engine. A more precise term for it is language model, and the rule-based meaning is still the usual one in classic AI texts.
For the software that serves a model to many users, see what is an inference server.
Key points
- In classic AI, an inference engine applies explicit rules to a knowledge base.
- ChatGPT is a neural network language model. It runs inference but is not a rule engine.
- Context usually shows which sense of the word a writer means.