InteractionView
, which can be themed
and customized to your application’s needs.
-E
flag). This will prevent sudden undesired
changes in your application.NEXT_PUBLIC_PROFICIENT_API_KEY
environment variable to your app.InteractionView
component to the page where you want your users to interact
with your agent.userExternalId
variable above simply refers to the unique ID of your user. For
more details see User External ID.
InteractionView
"casual"
: looks like iMessage/WhatsApp."formal"
: looks like ChatGPT.true
, sending a message to the agent will automatically trigger an
Ask request and the agent will reply to the
message. This is the intuitive option but if you disable it, users will be
able to send multiple messages before asking for a reply.true
, pressing Enter will send the current text input as message.createTheme(params)
factory function. See custom themes
for more details.createTheme(params)
factory function which currently
takes three colors as parameters. We then dynamically compute the rest of the colors that
the component uses based on these three values.
theme
prop.
createTheme(params)
. A theme is just a plain
object that conforms to the
ProficientTheme
interface so you can create it any way you want.