New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bavard/agent-config

Package Overview
Dependencies
Maintainers
2
Versions
316
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bavard/agent-config - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

63

dist/analytics.d.ts

@@ -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;
}[];
}

4

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc