mathis.orlando
04/11/2024, 11:48 AMmathis.orlando
04/11/2024, 11:50 AMrgb(93, 254, 202)
,
type: "pill", // or "round"
title: "Have a quick question?", // only required in case of Pill
subtitle: "Talk with our AI assistant", // only required in case of pill
icon: https://unpkg.com/lucide-static@0.321.0/icons/phone.svg
,
},
loading: { // button state when the call is connecting
color: rgb(93, 124, 202)
,
type: "pill", // or "round"
title: "Connecting...", // only required in case of Pill
subtitle: "Please wait", // only required in case of pill
icon: https://unpkg.com/lucide-static@0.321.0/icons/loader-2.svg
,
},
active: { // button state when the call is in progress or active.
color: rgb(255, 0, 0)
,
type: "pill", // or "round"
title: "Call is in progress...", // only required in case of Pill
subtitle: "End the call.", // only required in case of pill
icon: https://unpkg.com/lucide-static@0.321.0/icons/phone-off.svg
,
},
};
(function (d, t) {
var g = document.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src =
"https://cdn.jsdelivr.net/gh/VapiAI/html-script-tag@latest/dist/assets/index.js";
g.defer = true;
g.async = true;
s.parentNode.insertBefore(g, s);
g.onload = function () {
vapiInstance = window.vapiSDK.run({
apiKey: apiKey, // mandatory
assistant: assistant, // mandatory
config: buttonConfig, // optional
});
};
})(document, "script");
mathis.orlando
04/11/2024, 12:25 PMy.sami
04/11/2024, 12:59 PMmathis.orlando
04/11/2024, 1:30 PMy.sami
04/11/2024, 4:24 PMmathis.orlando
04/11/2024, 5:39 PMskoiteur
04/24/2024, 9:37 PMVapi Support
04/24/2024, 9:37 PM