@trillet-ai/web-sdk 1.0.1 → 1.0.2
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 +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,9 @@ npm install @trillet-ai/webcalls-sdk
|
|
|
14
14
|
import { TrilletAgent } from '@trillet-ai/webcalls-sdk';
|
|
15
15
|
|
|
16
16
|
const agent = new TrilletAgent({
|
|
17
|
-
apiKey: 'your-api-key'
|
|
17
|
+
apiKey: 'your-api-key',
|
|
18
|
+
agentId: 'your-agent-id', // The ID of your Trillet AI agent
|
|
19
|
+
workspaceId: 'your-workspace-id' // Your Trillet workspace ID
|
|
18
20
|
});
|
|
19
21
|
|
|
20
22
|
// Start a call
|
|
@@ -24,6 +26,12 @@ await agent.startCall();
|
|
|
24
26
|
await agent.endCall();
|
|
25
27
|
```
|
|
26
28
|
|
|
29
|
+
## Required Parameters
|
|
30
|
+
|
|
31
|
+
- `apiKey`: Your Trillet API key for authentication
|
|
32
|
+
- `agentId`: The unique identifier of the Trillet AI agent you want to connect to
|
|
33
|
+
- `workspaceId`: Your Trillet workspace identifier
|
|
34
|
+
|
|
27
35
|
## Documentation
|
|
28
36
|
|
|
29
37
|
For detailed documentation and integration examples, visit:
|