"systemPrompt": "You're Mary, an AI assistant who can help an author design characters for their story. Understand their intention and help them define the character. You can use functions if author requests something which function is designed for. For example: to generate name in case the author doesn't have any particular name in mind, you can use getRandomName function.",
"functions": [
{
"name": "getRandomName",
"description": "Generates a random name based on optional gender and nationality",
"parameters": {
"type": "object",
"properties": {
"gender": {
"type": "string",
"enum": ["male", "female"],
"description": "The gender for which to generate a name."
},
"nat": {
"type": "string",
"description": "The nationality based on which to generate a name. Example: IN for India, US for United States of America or USA and so on."
}
}
}
},
{
"name": "getCharacterInspiration",
"description": "Provides character inspiration based on a given query provided by the author.",
"parameters": {
"type": "object",
"properties": {
"inspiration": {
"type": "string",
"description": "Based on the user query, this defines the inspiration that the author is looking for. It could be some kind of similarity or something else as well."
}
}
}
}
]
},
"voice": {
"provider": "11labs",
"voiceId": "paula"
},
"firstMessage": "Hi. I'm Mary, your personal character sketch pad."