# AI Engine

AI is an engineering discipline that aims to make intelligent machines. It is a field that aims to make machines that can think and learn in a way similar to humans. As an engineering discipline, it is concerned with how to build systems that can learn and act. This is done by programming them to solve problems and make decisions, given a set of data.

The AI engine that we use to predict completion text is extremely powerful and fast. The system works by learning real data from the internet and then using a supervised machine learning technique to improve its performance. When you give the engine a prompt paragraph it will combine thousands of signals to make predictions about which words are likely to appear next.

{% hint style="info" %}
Keep in mind that the models' training data cuts off in October 2019, so they may not have knowledge of current events. We plan to add more continuous training in the future.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.writier.io/engines/ai-engine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
