@d-id/client-sdk 1.0.18-beta.13 → 1.0.18-beta.14
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/dist/index.js
CHANGED
package/dist/index.umd.cjs
CHANGED
|
@@ -88,12 +88,16 @@ export interface AgentManager {
|
|
|
88
88
|
*/
|
|
89
89
|
chat: (messages: Message[]) => Promise<ChatResponse>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
92
|
-
* TODO asks Sagi how it's work
|
|
91
|
+
* Method to rate the answer in chat
|
|
93
92
|
* @param payload
|
|
94
93
|
* @param id - id of Rating entity. Leave it empty to create a new, one or pass it to work with the existing one
|
|
95
94
|
*/
|
|
96
95
|
rate: (payload: RatingPayload, id?: string) => Promise<RatingEntity>;
|
|
96
|
+
/**
|
|
97
|
+
* Method to delete rating from answer in chat
|
|
98
|
+
* @param id - id of Rating entity.
|
|
99
|
+
*/
|
|
100
|
+
deleteRate: (id: string) => Promise<RatingEntity>;
|
|
97
101
|
/**
|
|
98
102
|
* Method to make your agent read the text you provide or reproduce sound
|
|
99
103
|
* @param payload
|