Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
analyzed-conversation-viewer
Advanced tools
analyzed-conversation-viewer is a UI component that hel you display a conversation analysis through multiple aspects like the conversation sentiment, conversation personally identifiable information (PII), and conversation summary
the target of this component is to gather the analysis resulting from the different services in one place to give the user the needed information for each sentence and
the overall conversation.
Name | Type | Description | Default value |
---|---|---|---|
result | { sentences: SentenceType[] } | the main object to display | |
labels | { | Optional - pass the labels you want to be displayed instead the default ones | { |
Name | Type |
---|---|
text | string |
speakerTitle | string |
redactedText | string |
entities | NamedEntity[] |
sentiment | SentimentTypes |
duration | { |
Name | Type |
---|---|
text | string |
offset | number |
length | number |
category | string |
subcategory | string |
confidenceScore | number |
SentimentTypes = 'positive' | 'negative' | 'neutral'
Here is a usage example:
const conversationResult = {
sentences: [
{
sentiment: "positive",
speakerTitle: "Speaker 1",
duration: { minutes: 0, seconds: 2 },
text: "Hi thank you for calling Bank of Contoso. Hello my name is Mary. How can I help you today?",
redactedText: "Hi thank you for calling Bank of Contoso. Hello my name is ****. How can I help you today?",
entities: [
{ category: "Person", confidenceScore: 0.9, length: 4, offset: 59, text: "Mary" },
{ category: "Organization", confidenceScore: 0.9, length: 15, offset: 25, text: "Bank of Contoso" },
],
},
{
entities: [],
sentiment: "neutral",
speakerTitle: "Speaker 2",
duration: { minutes: 0, seconds: 2 },
text: "I would like to know my remaining balance in my checking account.",
redactedText: "I would like to know my remaining balance in my checking account.",
},
],
};
return <AnalyzedConversationViewer result={conversationResult} />;
and the view will be like:
the nice annotations are made by the annotator library
FAQs
analyzed-conversation-viewer is a UI component that hel you display a conversation analysis through multiple aspects like the conversation sentiment, conversation personally identifiable information (PII), and conversation summary
The npm package analyzed-conversation-viewer receives a total of 3 weekly downloads. As such, analyzed-conversation-viewer popularity was classified as not popular.
We found that analyzed-conversation-viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.