retell-sdk 1.0.13 → 1.1.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 +16 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Retell AI SDK
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
npm install retell-sdk
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
```javascript
|
|
8
|
+
const Retell = require("retell-sdk").default;
|
|
9
|
+
|
|
10
|
+
const r = new Retell("YOUR-RETELL-API-KEY");
|
|
11
|
+
|
|
12
|
+
r.CreatAgent({ voiceId: "12345", prompt: "hi how are you doing?" });
|
|
13
|
+
r.ListAgents({ agentId: "oH2VAAkVDeBcUkt16GvC5qhLkDkwqrA8" });
|
|
14
|
+
r.ListConversations();
|
|
15
|
+
client = r.NewConversation({ agentId: "oH2VAAkVDeBcUkt16GvC5qhLkDkwqrA8" });
|
|
16
|
+
```
|