chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Dynamically change placeholder text in input box

Open pchalasani opened this issue 4 months ago • 1 comments

A common scenario is where we want to give custom instructions in the chat input box at the bottom. Currently this is hardcoded .chainlit/translations/en-US.json as ...inputBox.input.placeholder = "..."

A way to customize this from Python code would be very useful.

pchalasani avatar Feb 13 '24 18:02 pchalasani