# AI Chat

> AI Chat beside your document answers from the sources in your library with page-numbered citations; the Chat page is for questions that don't concern a document.

Grongy Guide · https://docs.grongy.co/ai-chat/ · All pages: https://docs.grongy.co/llms.txt

You can ask questions in two places in Grongy:

- **AI Chat**, beside your document, answers from that document's library and cites the sources with page numbers. You can also have it rewrite a passage you select.
- The Chat page is for general questions that don't concern a document. It searches the web and scholarly indexes and verifies the sources in its answer.

## The chat beside your document

On the **Write** tab, a vertical **AI Chat** strip sits on the right edge of the editor; click it and the panel opens.

*(Screenshot: The AI Chat panel: a question on the risks of large language models according to Kasneci and colleagues, and an answer with page-numbered citations)*

1. Type your question in the box at the bottom of the panel and press Enter. To start a new line, use Shift+Enter.
2. The answer rests on the sources in your library, and the citations come with page numbers. In the example above: "(Kasneci et al., 2023, pp. 2, 10)".
3. Grongy marks any part that rests on information not in your library as **General knowledge — not from your library**. Verify those parts before you cite anything for them.

### Asking one particular source

Type `@` in the box and a list of the sources in your library opens. Pick one and your question goes only to that source.

*(Screenshot: The source list that opens when you type @ in the chat box: Kasneci 2023 and Zawacki-Richter 2019)*

### What the answer rests on

Three settings above the box decide where the answer comes from:

- In the **Library** menu, you choose which sources the chat uses. **Library** is on to start with. **Web** searches online for real papers; **General** allows uncited general knowledge, and those parts come marked.
- **Filters** narrow the sources that can be cited by publication date and citation count. This is also where you can leave out preprints.
- While the **Current document** switch is on, the chat reads your document too, and **whole document** appears next to the switch. If the document is very long, you see **outline + relevant parts** there instead: with each question, Grongy sends the outline, the section you're in and the parts your question needs.

## Rewriting a passage

1. In the editor, select the text you want to change.
2. Tell the chat what you want (e.g. "make this shorter").
3. The answer offers several options; click the one you want to apply.
4. The change goes into the text as a tracked change: additions in green, deletions struck through. Read each one before you accept it.

Sometimes the chat suggests several corrections across your document. You tick the ones you want and click **Apply selected**. If the text to be corrected can't be found word for word in the document, Grongy doesn't apply that correction, and it doesn't try to guess where it belongs. For a single passage, the faster route is to select the text and click **AI edit** on the ribbon; the details are on the [Editing with AI](https://docs.grongy.co/editing-ai/) page.

> **Tip:** To save an instruction you use often, type `/` in the box and choose **New saved prompt…**. The clock icon at the top of the panel opens **Conversation history**, and the pencil icon starts a **New chat**.

## The Chat page

For a question that doesn't concern a document, choose **New** → **Chat** in the left menu. The page opens with the question "What do you want to know?".

*(Screenshot: The Chat page: a question on how academic writing self-efficacy is measured, and a table comparing the scales with their sources)*

- From the source menu below the box, you choose where the answer comes from: **Web search**, **Papers** or **My Library**. **Papers** adds scholarly papers to the answer; **My Library** cites your own PDFs with page numbers.
- Grongy checks the sources in an answer before it shows them to you. At the end of the answer it says how many sources were verified. It removes any source that can't be found in any scholarly index, and says so.
- With **+** → **Add files** you add PDF, Word, Excel and image files from your computer; you can ask for charts and tests on an Excel sheet. **Add from My Library** adds papers you saved. You can also paste an image into the box or drop it there; a question takes up to four images.
- **Deep research** comes with the Plus and Pro plans. Press **Chat** next to **+**, choose **Deep research** in its menu and send your question: Grongy splits the question into parts, researches each on the web and in scholarly indexes, compares the sources and writes a long report that cites every claim. It can take a few minutes; deep research stays on for that one message.
- On Plus and Pro, you can also have it make a PowerPoint presentation from your thesis or a paper; how to do it is on the [Presentations from the chat](https://docs.grongy.co/presentations-chat/) page.
- Your conversations stay in the **Chats** list in the left menu, so you can pick up where you left off whenever you like.

> **Caution:** Grongy can make mistakes. Check important information and every source yourself. Disclose your AI use according to your institution's rules; how to do it is on the [AI-use disclosure](https://docs.grongy.co/ai-use-disclosure/) page.

## Frequently asked questions

**Does the chat see my document?**
Only while the **Current document** switch is on.

**What's the difference between the chat in a document and the Chat page?**
The chat in a document rests on that document's library and, if you want, on its text too, and you can apply its answers to your text. The Chat page doesn't belong to any document; it searches the web and scholarly indexes.

**Can I have the chat rewrite my whole document?**
The chat works on the selected passage.

**Does chatting use up my allowance?**
Yes, every question counts as AI use. How your allowance works is on the [Plans and billing](https://docs.grongy.co/plans-billing/) page.
