Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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 0 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.