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

dsj-library

v2.7.5

Published

<!-- * @Author: your name * @Date: 2023-11-03 16:12:12 * @LastEditTime: 2024-02-19 16:24:31 --> # dsj-library

Downloads

8

Readme

dsj-library

下载

npm install dsj-library --save

全局注册

    import dsjLibrary  from 'dsj-library'
    import 'dsj-library/lib/dsj-library.css'
    Vue.use(dsjLibrary)

使用方法

传递科大讯飞申请的应用信息 APPIDAPISecretAPIKey version:版本号目前支持 v1.1, v2.1, v3.1

|名称|类型|默认值| |------|--------------|------| |APPID|String|--| |APISecret|String|--| |APIKey|String|--| |title|String|欢迎使用小数~|

<template>
    <intelligence-answer
      :APPID="APPConfig1.APPID"
      :APISecret="APPConfig1.APISecret"
      :APIKey="APPConfig1.APIKey"
      :version="APPConfig1.version"
    />
    </template>
    <script>
    export default {
        data(){
            return {
               APPConfig: {
                APPID: '',
                APISecret: '',
                APIKey: '',
                version: ''
               } 
            }
        }
    }
    </script>

组件列表

  1. QuestionAnswering

包含文档智能组件和讯飞认知大模型

<QuestionAnswering
      :chatConfig="APPConfig1"
      :accountId="accountId"
      :chatDocConfig="chatDocConfig"
      ></QuestionAnswering>
      ```

|名称|类型|备注|
|------|--------------|------|
|chatConfig|Object|智能问答的配置,具体看下面的chatConfig说明|
|chatDocConfig|Object|文档知识库的配置,具体看下面的chatDocConfig说明|
|accountId|String|浙政钉的AccountId,传了之后就无需扫码登录,否则就要|



**chatConfig** 
|名称|类型|备注|
|------|--------------|------|
| APPID|string|申请星火知识大模型给予的APPID|
|APISecret|string|申请星火知识大模型给予的APISecret|
|APIKey|string|申请星火知识大模型给予的APIKey|
|version|string|申请星火知识大模型的版本,截至写文档时间 目前有3种,v1.1, v2.1, v3.1|

**chatDocConfigg** 
|名称|类型|备注|
|------|--------------|------|
| APPID|string|申请星火知识库给予的APPID|
|APISecret|string|申请星火知识库给予的APISecret|

**version**
|版本号|日期|备注|
|----|----|----|
|2.5.0|2023.11.30|增加文档的智能客服|
|2.5.1|2023.12.01|修复智能客服转圈|
|2.5.2|2023.12.05|修改问答接口参数,调的高一些|
|2.7.0|2024.02.18|UI更改|
|2.7.1|2024.02.18|机器人图片更换成base64位形式|
|2.7.3|2024.02.19|增加了浙政钉扫码以及可通过浙政钉的accountId 实现免扫码功能|