# Key Concepts

The AI engine is powered by **deep learning techniques**, including recurrent neural networks. The combined power of these techniques ensures that the generated sentences are as grammatically correct as possible and have great insight into the structure of your text.

To use the AI, you simply give it a **text prompt** (the text-based input you provide) and it will return a **text completion**, attempting to match the context or pattern you gave it.

&#x20;For example, if you write:

```yaml
As Descartes said, I think therefore
```

The AI might produce a sentence completion like:

```bash
As Descartes said, I think therefore "I am"
```

The AI is always on the lookout for the next element that will make a sentence engaging while bringing the plot forward.

You could also use it to generate a couple of paragraphs for an interesting story. This is a great tool for writers who want to add a little bit of ‘mind-boggling magic’ to their stories.

This app is just the beginning. Our ultimate goal is to create a full-fledged AI that will not only generate random sentences but also understand your plot and characters.


---

# 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/introduction/key-concepts.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.
