0.0.31 • Published 12 months ago

monsterhumansdk v0.0.31

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Monsterhuman SDK 使用文档

当前文档和插件仅支持vue2

下载Monsterhuman

// npm 方式
npm install monsterhumansdk
// yarn 方式
yarn add monsterhumansdk
// pnpm 方式
pnpm add monsterhumansdk

三种下载方式选择一种即可

引入组件

// main.js 全局引入

import monsterhumansdk from 'monsterhumansdk'
Vue.use(monsterhumansdk)

鉴权

参数 visitId: 当前设备id secretKey:授权给你使用的key 找怪兽智能商务给您提供 请看下方商务联系

<!-- 使用界面直接引入组件 -->

<Monsterhuman ref="MonsterhumanSDK" class="MonsterhumanSDKContetn" :secretKey="secretKey" :visitId="visitId" />

调用说话

参数text:文案不超过50字

// js

this.$refs.MonsterhumanSDK.speak(text:string);

调用AI问答

参数text:文案不超过50字

// js

this.$refs.MonsterhumanSDK.ask(text:string);

停止说话

不需要任何参数

// js

this.$refs.MonsterhumanSDK.bindStop();

商务联系

如有需要key请扫码找商务

0.0.31

12 months ago

0.0.30

12 months ago

0.0.29

12 months ago

0.0.28

12 months ago

0.0.27

12 months ago

0.0.26

12 months ago

0.0.25

12 months ago

0.0.24

12 months ago

0.0.23

12 months ago

0.0.22

12 months ago

0.0.21

12 months ago

0.0.20

12 months ago

0.0.19

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago