Sahil
06/25/2025, 1:47 PMSahil
06/25/2025, 2:01 PMShubham Bajaj
06/25/2025, 3:35 PMShubham Bajaj
06/25/2025, 3:35 PMSahil
06/25/2025, 5:20 PMKyle Brunker
06/25/2025, 8:13 PMKyle Brunker
06/25/2025, 8:17 PMKyle Brunker
06/25/2025, 8:17 PMSahil
06/26/2025, 4:57 AMSahil
06/26/2025, 5:06 AMSahil
06/26/2025, 5:08 AMHi ${user?.firstName}, I am ${bot?.botName}, an ${bot?.roleId?.name} designed and developed by ${currentTenantName}. I am really excited about this opportunity and look forward to sharing how I can contribute to your team
,
transcriber: {
provider: "deepgram",
model: "nova-3",
language: "en-US",
},
voice: {
provider: "playht",
voiceId: bot.voice,
},
model: {
provider: "openai",
model: "gpt-4.1-mini",
messages: [
{
role: "system",
content: Current Date and Time is ${currentDateTime} (${localTimeZone})\n\n${voicePrompt}
},
{
role: "assistant",
content: User Details: I am interacting with ${user.firstName} ${user.lastName} whose email address is (${user.email}), who holds the role of ${user.roleId?.name || "unspecified role"}.
}
],
tools: [
{
type: "function",
messages: [],
function: {
name: "web_search",
parameters: {
type: "object",
properties: {
search_query: { type: "string" }
},
required: ["search_query"]
},
description: "Search the web using a query string and return relevant results."
},
async: false,
server: {
url: ${baseURL}/${user.id}/webSearch
,
timeoutSeconds: 300
}
}
],
},
backgroundDenoisingEnabled: true,
modelOutputInMessagesEnabled: true,
startSpeakingPlan: {
waitSeconds: 2
},
stopSpeakingPlan: {
numWords: 0,
voiceSeconds: 0,
backoffSeconds: 2
},
analysisPlan: {
successEvaluationPlan: {
enabled: false
},
summaryPlan: {
enabled: false
}
},
maxDurationSeconds: 1800
}Sahil
06/26/2025, 7:27 AMKyle Brunker
06/26/2025, 11:52 PMKyle Brunker
06/27/2025, 12:04 AM