mirror of
https://github.com/jambonz/batch-speech-utils.git
synced 2026-01-25 02:08:27 +00:00
43 lines
755 B
JavaScript
43 lines
755 B
JavaScript
const audioRecordingTemplate = {
|
|
'participants': [
|
|
{
|
|
'type': '',
|
|
'initiatedConversation': false,
|
|
'id': {
|
|
'name': null,
|
|
'phone': ''
|
|
}
|
|
}
|
|
],
|
|
'duration': 0,
|
|
'transcript': {
|
|
'vendor': '',
|
|
'model': '',
|
|
'channels': 0,
|
|
'createdAt': '',
|
|
'speechEvents': [
|
|
{
|
|
'timestamp': 0,
|
|
'duration': 0,
|
|
'startTime': 0,
|
|
'endTime': 0,
|
|
'speaker': 0,
|
|
'transcript': '',
|
|
'words': [
|
|
{
|
|
'word': '',
|
|
'start': 0,
|
|
'end': 0,
|
|
'confidence': 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
'sentiment': '',
|
|
'sentimentScore': 0,
|
|
'totalDuration': 0
|
|
}
|
|
};
|
|
|
|
module.exports = audioRecordingTemplate;
|