...
Code Block | ||
---|---|---|
| ||
profound.ai.startAgent({ agent: "HR.agent.json", headingembed: "HR Assistant", greeting: "How can I help?" true }); |
After an agent is started, you can use various methods of profound.ai.agent to control it. For example:
...
When set to true, instead of starting the agent interface immediately, a chat icon is rendered in the bottom right corner of the application.
heading
Heading Overrides the heading text for the chat interface.
greeting
Greeting Overrides the greeting message to show at the top of the chat interface.
...
Optional URL of the Profound AI server. This property should be specified if the application is running on a server is that is separate from Profound AI.
theme
The Sets the theme of the chat interface (e.g., "light" or "dark").
brandColor
The Overrides the brand color used in the chat interface. If a brand color is not specified, the default CSS rules are used.
...