# AI Chat

AI Chat Action Dropdown:

1. **Open:** This will open the AI Chat interface
2. **Close:** This will close the AI Chat interface
3. **Input Message:** This will input a message to the AI Chat interface as the specified entity with either the Name section or allows you to input a message as if it was said by the player using the Is Player section.
4. **Input System Message:** This will input a message to the AI Chat interface as a system message rather than one attributed to someone participating in the chat experience. Typical use would be for either describing the scenario or sending messages like "Erick has entered the chat room" that would not be assigned to a participant.
5. **Set Data:** Allows the author to set the information about the other participants in the experience. This includes the *Name*, *Voice*, and *Profile Picture* of the virtual participant. *Profile Pictures* should be in a 1:1 aspect ratio to prevent any distortion

**Is Player Selection**: If this is set to ![](/files/jPWYMyFuVO9nExLOUskV) then the message you type into the text field will appear as if it was spoken or said by the player rather than by the virtual participants.

**Name**: The selection from your Set Data section of what virtual participant is actually speaking what you input into the text field.

**Text Field:** The message being said by the System, Player, or Named Virtual participant.


---

# 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.siminsights.com/authoring-a-simulation/state-machine/actions/ai-chat.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.
