genassist-chat-react 1.0.26 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/components/GenAgentChat.js +39 -31
- package/dist/components/InteractiveContent.js +3 -2
- package/dist/components/MarkdownMessage.d.ts +11 -0
- package/dist/components/MarkdownMessage.js +56 -0
- package/dist/components/WelcomeCard.js +3 -3
- package/dist/hooks/useChat.d.ts +4 -1
- package/dist/hooks/useChat.js +24 -17
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ function App() {
|
|
|
66
66
|
reCaptchaKey={your-recaptcha-site-key}
|
|
67
67
|
headerTitle="Customer Support"
|
|
68
68
|
placeholder="Ask a question..."
|
|
69
|
+
inputDisclaimer="Agent can make mistakes"
|
|
69
70
|
onError={() => {}}
|
|
70
71
|
onTakeover={handleTakeover}
|
|
71
72
|
noColorAnimation={false}
|
|
@@ -96,6 +97,7 @@ export default App;
|
|
|
96
97
|
| serverUnavailableMessage | string | No | 'The agent is currently offline, please check back later. Thank you!' | Custom message for when agent is offline (Agent is off or server is down) |
|
|
97
98
|
| serverUnavailableContactUrl | string | No | - | Url to redirect user for contact support |
|
|
98
99
|
| serverUnavailableContactLabel | string | No | Contact support | Label for contact support |
|
|
100
|
+
| inputDisclaimer | string | No | Agent can make mistakes. Check important info. | Disclaimer for agent information |
|
|
99
101
|
| useWS | boolean | false | true | 'Enable or disable websocket...' |
|
|
100
102
|
| useAudio | boolean | false | false | 'Enable or disable audio on chat input...' |
|
|
101
103
|
| useFile | boolean | false | false | 'Enable or disable file attachments on chat input...' |
|