1.0.6 • Published 5 months ago

@aini_ai/ai-assistant v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

ai-assistant

AI Assistant 插件,适用于 canvas-editor。 插件源码GitHub地址:https://github.com/aini-aini/canvas-editor-ai-assistant

安装

npm install @aini_ai/ai-assistant

使用方法

import cardPlugin from '@aini_ai/ai-assistant';

// 这里就是canvas-editor 的实例
const instance = new Editor(
    container,
    {
      header: [ 
       
      ]
    },
    options
  )

  // 在 canvas-editor 中注册插件
  instance.use(cardPlugin,{ apiKey: '你的seepseek模型的apiKey' })

参数说明

参数说明类型是否可选
apiKeyAI 接口密钥string

贡献

License

功能

使用说明截图1 使用说明截图1 使用说明截图1 使用说明截图1