Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions api-reference/chat-settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,14 @@ async def setup_agent(settings):
print("on_settings_update", settings)

```
You can also access the Chainlit chat settings using a combination of the `@` and `/` commands. Using `@`, you can trigger the chat settings **Select** input, and using `/`, you can choose the selected setting’s input values.

### Single Select option Type
<Frame caption="The user selecting a command">
<img src="/images/chat-settings1.gif" />
</Frame>

### Multi Select option Type
<Frame caption="The user selecting a command">
<img src="/images/chat-settings2.gif" />
</Frame>
Binary file added images/chat-settings1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chat-settings2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.