Giter VIP home page Giter VIP logo

chat-plugin-sdk's Introduction

Chat Plugin SDK

SDK for LobeChat funciton calling plugins


Changelog · Report Bug · Request Feature

Table of contents

TOC

🤯 Usage

The LobeChat Plugin SDK assists you in creating exceptional chat plugins for Lobe Chat.

📦 Plugin Ecosystem

Plugins provide a means to extend the Function Calling capabilities of LobeChat. They can be used to introduce new function calls and even new ways to render message results. If you are interested in plugin development, please refer to our 📘 Plugin Development Guide in the Wiki.

  • lobe-chat-plugins: This is the plugin index for LobeChat. It accesses index.json from this repository to display a list of available plugins for LobeChat to the user.
  • chat-plugin-template: This is the plugin template for LobeChat plugin development.
  • @lobehub/chat-plugin-sdk: The LobeChat Plugin SDK assists you in creating exceptional chat plugins for Lobe Chat.
  • @lobehub/chat-plugins-gateway: The LobeChat Plugins Gateway is a backend service that provides a gateway for LobeChat plugins. We deploy this service using Vercel. The primary API POST /api/v1/runner is deployed as an Edge Function.

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

$ git clone https://github.com/lobehub/chat-plugin-sdk.git
$ cd chat-plugin-sdk
$ bun install
$ bun dev

🤝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.

🔗 Links

  • 🤖 Lobe Chat - An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application.
  • 🧩 / 🏪 Plugin Index - This is the plugin index for LobeChat. It accesses index.json from this repository to display a list of available plugins for Function Calling to the user.


📝 License

Copyright © 2023 LobeHub.
This project is MIT licensed.

chat-plugin-sdk's People

Contributors

actions-user avatar arvinxx avatar asuka109 avatar canisminor1990 avatar dependabot[bot] avatar luquitared avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chat-plugin-sdk's Issues

[Feat/Plugin] 插件研发 SDK Roadmap

面向三方插件开发者,提供统一的插件研发SDK,需要包含:

  • 基础类型定义文件;
  • 服务端包裹方法(统一处理相关逻辑);
  • #10
  • #11
  • #5
  • #4
  • React 组件 / Vue 组件渲染方法;
  • 调试集成方法

[Docs] 插件开发全面文档

[Question] 插件的触发方式是什么?

🧐 问题描述 | Proposed Solution

通过manifest的description关键词来匹配的吗?想了解下这块原理,语言模型如何判断用户意图来调用不同的插件?插件的配置应该如何设置

📝 补充信息 | Additional Information

No response

[Question] How to build a simple Flask backend for plugins?

🧐 问题描述 | Proposed Solution

How to build a simple Flask backend for plugins? I am not very familiar with js and node, so I am wondering if I can build a Flask backend in Python, but I don't know how to port createLobeChatPluginGateway.

📝 补充信息 | Additional Information

No response

[Request] 增加vue的hooks钩子

🥰 需求描述 | Feature Description

目前的hooks只支持react,希望支持vue

🧐 解决方案 | Proposed Solution

引入vue,增加vue的hooks逻辑,该功能增加后,模版也可以使用vue创建

📝 补充信息 | Additional Information

No response

[Bug] 添加插件配置后,面板没有更新数据,聊天也没有触发插件效果

💻 系统环境 | Operating System

macOS

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

根据文档说明,添加manifest配置后,面板数据没有更新
image
回到聊天窗口,发送指令没有调用插件
image

🚦 期望结果 | Expected Behavior

正确调用插件

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

lobe-chat版本:0.89.6
插件模版版本:1.1.0

[Question] Serpapi 需要做特殊的设置吗?

🧐 问题描述 | Proposed Solution

image

image

是不是我使用的姿势不对,KEY填写进去,提示 “该插件需要正确配置后才可以使用,请检查你的配置是否正确”

手机开了全局代理
家里路由器开了全局代理
公司网络默认全球商务路线

还是无法使用~ 🙈

📝 补充信息 | Additional Information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.