npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

text-monitor

v1.0.2

Published

<!-- * @Author: czl czl * @Date: 2024-02-28 14:41:23 * @LastEditors: czl czl * @LastEditTime: 2024-02-28 16:14:57 * @FilePath: \text-monitor\README.md * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro

Downloads

6

Readme

介绍

  • 该插件为华云天下所有
    1. 热线助手的模块分为五大模块:客户画像,客户意图,意图识别,流程导航,通话监控,实时提醒.辅助模块功能:自定义模块设置和ASR语言识别.工单采集,警示记录统计.其中的自定义模块设置能针对每个企业的需求去自定义显示模块样式布局.还可自定义设置ASR模型语言识别.作用:辅助电话条,监控电话条呼入呼出时的通话语音流,精准定位访客信息,辅助坐席更快更有效进行通话.需要注意的是,助手必须依赖电话条的语音流建立ws连接才能实现其功能.
    2. 热线监控只有两个模块:通话监控和实时提醒.作用:实时监控某个坐席和访客对话内容,并对坐席进行一个监控提示告警.
    3. 文本助手只有一个模块:知识推荐(也是意图识别).辅助模块功能:工单采集.作用:辅助在线助手,实时监听在线助手的回话根据大模型返回的问答结果,去推送相应的知识库问答给坐席端文本助手展示.可以进行知识查询.
    4. 工单采集使用在热线助手和文本助手中,采集内容为固定的10个字段,有复制,修改,保存,一键填单功能.
    5. 坐席端助手相关模块有:数据统计-智能助手报表;设置-智能助手设置模块.

目录

|------build # webpack配置文件 |------webpack.config.js # webpack基础配置 |------src # 源代码文件夹 |------assets # 静态资源文件夹(会被webpack构建) |------components # 组件文件 |------icons #项目里引入的svg图,如果开发新的模块有新的图标,可以下载成svg形式的文件放到此处,在需要的页面引入即可 |------models #所有dom模块的文件 |------content # 热线助手-客户画像,客户意图,意图识别,流程导航,通话监控五个模块 |------header # 热线助手-头部模块:坐席/访客 设置,倒计时,以及放大/缩小/中等化/关闭交互 |------hotline_monitor # 热线监控的目录 |------text_monitor # 文本助手的目录 |------styles # css样式 |------utils # js库 |------agent_ws_utils.js # ws建立连接和断开连接的方法 |------agent_ws.js # 所有接口请求的地址/ws的方法:建立连接,监听事件,设置,断开等 |------contant.js # html的标签的一些正则匹配,接收动态数据创建dom的时候需要引入这个文件 |------dom-core.js # 热线助手监听ws接收的动态数据去创建改变dom元素的js |------multiple-dom-core.js # 热线监控监听ws接收的动态数据去创建改变dom元素的js |------text-dom-core.js # 文本助手监听ws接收的动态数据去创建改变dom元素的js(目前只有百度saas项目用到文本助手) |------index.js # 给class绑定uuid 唯一标识/ div拖拽移动/ 以及ws数据的格式转化为前端的类型.比如监听到ws返回数据有calldata字段的,就给它在对应的参数下面进行处理.这样在那三个core.js页面就可以更方便的去进行动态数据处理并循环或直接绑定到对应的dom元素上面 |------svg-import.js # 解决vue 或者react项目中,该插件使用svg-sprite-loader生成的symbol使用不了的问题 |------index.js # 在vue项目中new agenthelper时候,根据所传的modle类型: hotline热线/hotline_monitor热线坐席监控/online_monitor文本助手,去对应的去创建相应的热线/监控/文本助手dom的入口的js |------static # 纯静态资源(不会被webpack构建) |------newPhone # 电话条模块(如果有的项目用到咱们电话条就用它,不用的话在index.html页面就不用引入) |------index.html # 入口页面 这里面有些示例方法是给客户本地调式用的.并不影响引入项目. |------package.json # npm包配置文件:注意:每次本地调式好要发布一个版本的时候,需在之前的版本上+1即可,需要手动修改版本号.比如:"version": "3.1.2"修改为:"3.1.3", 修改完后,执行命令:npm run build 然后 npm publish 就会显示发布成功以及对应的版本号.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.