# A Quick Command Cheat Sheet

## Basic Usage

The chat command works right out of the box:

> <mark style="color:orange;">`/chat`</mark>` ``your text`

The text you provide will be edited to enhance overall readability and effectiveness.\
If you use the command without any text, the app will prompt you for input, giving you the option to override the default action:

> <mark style="color:orange;">`/chat`</mark>

## Overriding Default Action

You can change the default action to one you use frequently.

* If you just want to correct grammar and typos, set the default action to <mark style="background-color:yellow;">**Correct Grammar.**</mark>
* If your native language differs from the one used in your workplace, you can set the default action to <mark style="background-color:yellow;">**Translate**</mark><mark style="background-color:yellow;">.</mark>

Occasionally, you might want to override the default action for linguistic work you don't often use. You can do this by providing the argument directly after the /chat command, like so:

> <mark style="color:orange;">`/chat`</mark><mark style="color:green;">`translate`</mark>`ฉันชอบกินผัดไทยกุ้ง`\ <mark style="color:orange;">`/chat`</mark><mark style="color:green;">`edit`</mark>`I go to the office every day`

You can also use shorthand for the linguist actions:

> <mark style="color:orange;">`/chat`</mark><mark style="color:green;">`t`</mark>`ฉันชอบกินผัดไทยกุ้ง` -- t is a shorthand for 'translate'\ <mark style="color:orange;">`/chat`</mark><mark style="color:green;">`e`</mark>`I go to work every day` -- e is a shorthand for 'edit'

Read more about [the action shorthands here](/elegant-chat/built-in-linguist-actions.md).

If the first word of your sentence matches a linguist action and you want it to be treated as part of the sentence, enclose your sentence in double quotes like this:

> <mark style="color:orange;">`/chat`</mark>` ``"translate this into Thai"`

In this case, **"translate"** is part of your sentence and won't be used as an action intent.


---

# 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.tailrec.io/elegant-chat/a-quick-command-cheat-sheet.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.
