genassist-chat-react 1.0.33 → 1.0.34-rc.1

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 CHANGED
@@ -19,8 +19,8 @@ import { GenAgentChat } from 'genassist-chat-react';
19
19
  function App() {
20
20
  return (
21
21
  <div style={{ height: '600px', width: '400px' }}>
22
- <GenAgentChat
23
- baseUrl="https://your-api-base-url.com"
22
+ <GenAgentChat
23
+ baseUrl="https://your-api-base-url.com"
24
24
  apiKey="your-api-key"
25
25
  tenant="your-tenant-id"
26
26
  />
@@ -56,8 +56,8 @@ function App() {
56
56
 
57
57
  return (
58
58
  <div style={{ height: '600px', width: '400px' }}>
59
- <GenAgentChat
60
- baseUrl="https://your-api-base-url.com"
59
+ <GenAgentChat
60
+ baseUrl="https://your-api-base-url.com"
61
61
  apiKey="your-api-key"
62
62
  tenant="your-tenant-id"
63
63
  userData={userData}
@@ -122,7 +122,7 @@ The component interacts with the following endpoints:
122
122
 
123
123
  1. Start Conversation: `POST /api/conversations/in-progress/start`
124
124
  2. Update Conversation: `POST /api/conversations/in-progress/update/{conversation_id}`
125
- 3. WebSocket: `/api/conversations/ws/{conversation_id}?access_token={token}&lang=en&topics=message&topics=takeover`
125
+ 3. WebSocket: `WS /conversations/{conversation_id}?access_token={token}&lang=en&topics=message&topics=takeover`
126
126
 
127
127
  ## Run
128
128
  ./