retell-sdk 5.14.1 → 5.16.0
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/CHANGELOG.md +24 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +11 -0
- package/client.js.map +1 -1
- package/client.mjs +11 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +24 -15
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +24 -15
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +9 -6
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +9 -6
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +33 -15
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +33 -15
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +14 -0
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +14 -0
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +24 -15
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +24 -15
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/playground.d.mts +21 -0
- package/resources/playground.d.mts.map +1 -1
- package/resources/playground.d.ts +21 -0
- package/resources/playground.d.ts.map +1 -1
- package/resources/playground.js +21 -0
- package/resources/playground.js.map +1 -1
- package/resources/playground.mjs +21 -0
- package/resources/playground.mjs.map +1 -1
- package/src/client.ts +12 -0
- package/src/resources/agent.ts +219 -15
- package/src/resources/batch-call.ts +73 -5
- package/src/resources/call.ts +234 -15
- package/src/resources/chat-agent.ts +297 -18
- package/src/resources/playground.ts +21 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -10,6 +10,27 @@ export class Playground extends APIResource {
|
|
|
10
10
|
* Stateless playground completion. Send the full conversation history (same shape
|
|
11
11
|
* as chat completion messages) and receive only the newly generated messages.
|
|
12
12
|
* Nothing is persisted server-side — the caller manages conversation state.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const response = await client.playground.completion(
|
|
17
|
+
* 'agent_id',
|
|
18
|
+
* {
|
|
19
|
+
* messages: [
|
|
20
|
+
* {
|
|
21
|
+
* content: "Hi, I'd like to check my appointment.",
|
|
22
|
+
* role: 'user',
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* content:
|
|
26
|
+
* 'Sure! Could you please provide your name?',
|
|
27
|
+
* role: 'agent',
|
|
28
|
+
* },
|
|
29
|
+
* { content: 'My name is John Smith.', role: 'user' },
|
|
30
|
+
* ],
|
|
31
|
+
* },
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
13
34
|
*/
|
|
14
35
|
completion(
|
|
15
36
|
agentID: string,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.16.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.16.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|