# AI Write

## **AI Write**

<figure><img src="/files/hzvFP5aowmMNm2Wa1CP7" alt=""><figcaption></figcaption></figure>

Here, you can provide the AI with your ideas about the game's creation, including a brief description of the type, worldview, and the role and main objectives of {user} in this story.

**Example:** "This is a game about Loki set in the Marvel Universe. Main objective: save Earth from an alien invasion. Loki doesn't want to save anyone, {user} has superpowers." This is enough for the AI to create a plot and scene without specific requirements.

However, if you want the game's plot to be specific, your descriptions should be as detailed as possible.

**Example:** "Please write the exact plot of 'Sherlock: The Blind Banker' episode." With this prompt, the AI will generate an accurate copy of that episode.

But sometimes you might find the AI-generated content isn't the best or most interesting. How do you change that? By providing richer and more precise prompts.

**Example:** "Please write the exact plot of 'Sherlock: The Blind Banker' episode. The game starts at the bank, where Sherlock, John, and {user} are examining a symbol portrait. After visiting Van Coon's apartment, they find him dead. Next, at the circus, they observe acrobats and start suspecting them as part of the Black Lotus group. They then try to decipher the code at 221B Baker Street. The whole story ends with the kidnapping of {user}."&#x20;

&#x20;AI will understand this prompt and create more detailed game content based on the provided details.


---

# 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://book.rochat.ai/rochat_book_en/how-to-create-a-game-in-rochat-ai-avg/ai-write.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.
