Agent Appearance & Greeting
Defines how the agent looks, introduces itself, and aligns with your brand.
agentDisplayName
Specifies the display name of the agent as it appears within the chat interface.
Type: string
Default Value: "Agent"
entryMessage
Defines the first message shown to users when the chat interface launches, setting the initial tone of the conversation.
Type: string
Default Value: "How can I help you today?"
logoUrl
Defines the URL of the logo displayed in the agent interface.
Type: string
Default Value: ""
promptBarHint
Placeholder text displayed inside the prompt input bar, typically used to guide the user on what to ask.
For example: "Ask me anything..."
Type: string
Default Value: ""
displaySparkIcon
Determines whether the spark icon is visible in the agent interface.
Type: boolean
Default Value: true
Example
foldspace.agent('API-KEY').setConfiguration({
  agentDisplayName: "Foldspace Assistant",
  entryMessage: "What can I help with?",
  logoUrl: "https://assets.foldspace.com/logos/foldspace-logo-light.svg",
  promptBarHint: "Ask me anything...",
  displaySparkIcon: true  
});Updated 1 day ago