Personalise
Make anything sound like your character said it!
carter-js provides an personalise function which makes use of Carter's personalise endpoint. It allows you to personalise any text in the style of your character.
// Assuming you have created a Carter object called carter
const response = await carter.personalise('Your text goes here', speak=True) // speak optional
if (response.ok) {
console.log(response.data.content)
}The response object is identical to a regular CarterInteraction, except it doesn't include forced behaviours.
speak behaves in the same way as in say() and personalise()
Last updated