@bavard/agent-config
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -1,49 +0,2 @@ | ||
export interface IConversationsReport { | ||
agentName: string; | ||
fromDate?: number; | ||
toDate?: number; | ||
totalConversations: number; | ||
totalNonEmptyConversations: number; | ||
totalConversationsWithFallback: number; | ||
intentOccuranceCounts: { | ||
[intent: string]: number; | ||
}; | ||
agentActionCounts: { | ||
[actionName: string]: number; | ||
}; | ||
userOptionSelectionCounts: { | ||
[optionText: string]: number; | ||
}; | ||
formSubmissions: { | ||
[formName: string]: number; | ||
}; | ||
/** | ||
* Binned conversation counts grouped by sentiment value. | ||
*/ | ||
conversationCountsBySentiment?: { | ||
[bin: number]: number; | ||
}; | ||
/** | ||
* Average duration of conversation in seconds. | ||
*/ | ||
avgConversationDurationSeconds?: number; | ||
/** | ||
* Average length of conversation as number of turns. | ||
*/ | ||
avgConversationLength?: number; | ||
/** | ||
* Estimated savings of human support time in seconds. | ||
*/ | ||
estimatedTimeSavingsSeconds?: number; | ||
/** | ||
* Estimated cost savings in dollars. | ||
*/ | ||
estimatedCostSavingsDollars?: number; | ||
/** | ||
* The percentage of conversations where the user typed in a message, versus only clicked on options. | ||
*/ | ||
percentWithUserUtterances?: number; | ||
/** | ||
* Conversation counts per day over the time period. | ||
*/ | ||
export interface IConversationsReport extends IBaseConversationsReport { | ||
dailyConversationCounts?: { | ||
@@ -57,4 +10,4 @@ /** | ||
} | ||
export interface IDailyConversationsReport { | ||
agentName: string; | ||
export interface IBaseConversationsReport { | ||
agentName?: string; | ||
agentId?: string; | ||
@@ -104,12 +57,2 @@ fromDate?: number; | ||
percentWithUserUtterances?: number; | ||
/** | ||
* Conversation counts per day over the time period. | ||
*/ | ||
dailyConversationCounts?: { | ||
/** | ||
* Date in format YYYY-MM-DD. | ||
*/ | ||
date: string; | ||
count: number; | ||
}[]; | ||
} |
{ | ||
"name": "@bavard/agent-config", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Shared code and single source of truth for Bavard data models.", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@bavard/eslint-config-typescript": "^0.1.6", | ||
"@bavard/eslint-config-typescript": "^0.1.8", | ||
"@types/chai": "^4.2.19", | ||
@@ -36,0 +36,0 @@ "@types/lodash": "^4.14.170", |
453860
7419