# hi in documents

When you're working in the Hippoly Docs editor, **hi** can help you write, edit, and improve your document content. There are two ways to use AI assistance in documents: the **quick actions menu** for fast text edits and the **full hi chat** for more complex tasks.

## Quick actions

When you select text in the document editor, a menu appears with quick AI actions that are applied directly to the selected text:

* **Fix grammar** — corrects spelling and grammar errors in the selected text.
* **Make shorter** — rewrites the selected text to be more concise while keeping the meaning.
* **Translate** — translates the selected text into another language. Available languages include Swedish, English, German, French, Spanish, Finnish, Danish, and Norwegian.

These actions are applied directly in the document — no confirmation needed.

## Full hi chat from a document

You can also open a full conversation with **hi** while working on a document. When opened from the document context, **hi** knows which document you're working on and can help with more complex tasks.

**Example prompts:**

* "Summarize the document"
* "Check spelling and grammar"
* "Is anything missing or unclear?"
* "Make the tone more formal"
* "Help me write a conclusion"

**hi** can also **edit the document directly** — for example, if you ask **hi** to rewrite a section or add new content, the changes are applied live in the editor.

{% hint style="info" %}
Quick actions (fix grammar, shorten, translate) work on selected text. For broader changes, use the full **hi** chat to describe what you want.
{% 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://help.hippoly.com/using-hippoly/hi-your-assistant/hi-in-documents.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.
