> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jinba.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Sending Messages to AI

> How to send messages to AI in chat

## How to Send Messages

You can send messages to AI from the input area at the bottom of the chat screen.

### Basic Steps

<Steps>
  <Step title="Enter Your Message">
    Type what you want to tell AI in the text input field.
  </Step>

  <Step title="Send">
    Send using one of the following methods:

    * Click the **Send button**
    * Press **Enter**
  </Step>

  <Step title="Wait for Response">
    A loading indicator will appear while AI generates its response.
  </Step>
</Steps>

## Tips for Effective Questions

To get better responses from AI, keep the following points in mind when composing your messages.

### Be Specific

<CodeGroup>
  ```text Good Example theme={null}
  Please aggregate the sales data by month and calculate the year-over-year comparison.
  ```

  ```text Needs Improvement theme={null}
  Analyze the data.
  ```
</CodeGroup>

### Provide Context

<CodeGroup>
  ```text Good Example theme={null}
  I'm preparing a presentation for next week. Please summarize the three key features of Product A for our customers.
  ```

  ```text Needs Improvement theme={null}
  Summarize Product A.
  ```
</CodeGroup>

### Specify Output Format

<CodeGroup>
  ```text Good Example theme={null}
  Please organize the following items in a table format: Product name, Price, Stock quantity
  ```

  ```text Needs Improvement theme={null}
  Tell me about the products.
  ```
</CodeGroup>

## Multi-line Messages

When sending long messages or messages with multiple paragraphs:

* **Shift + Enter**: Insert a line break (without sending)
* **Enter**: Send the message

## Canceling During Generation

If AI is generating a response, you can cancel the process by clicking the stop button.

<Note>
  Even if you cancel, part of the response that was already generated may still be displayed.
</Note>

## Related Pages

<CardGroup cols={2}>
  <Card title="File Attachments" icon="paperclip" href="/en/pages/jinba_app/chat/file-attachment">
    Send messages with file attachments
  </Card>

  <Card title="Using Connectors" icon="plug" href="/en/pages/jinba_app/chat/use-connectors">
    Reference external data using connectors
  </Card>
</CardGroup>
