BotSharp

.NET 中的开源聊天机器人框架。「The Open Source Chatbot Framework in .NET」

Github stars Tracking Chart

Chatbot Platform Builder

Powered by LLM

Discord
QQ群聊
Join the chat at https://gitter.im/publiclab/publiclab
Apache 2.0
NuGet
Build status
Documentation Status

"Conversation as a platform (CaaP) is the future, so it's perfect that we're already offering the whole toolkits to our .NET developers using the BotSharp AI BOT Platform Builder to build a CaaP. It opens up as much learning power as possible for your own robots and precisely control every step of the AI processing pipeline."

BotSharp is an open source machine learning framework for AI Bot platform builder. This project involves natural language understanding, computer vision and audio processing technologies, and aims to promote the development and application of intelligent robot assistants in information systems. Out-of-the-box machine learning algorithms allow ordinary programmers to develop artificial intelligence applications faster and easier.

It's written in C# running on .Net Core that is full cross-platform framework, the plug-in and pipeline flow execution design is adopted to completely decouple the plug-ins. C# is a enterprise grade programming language which is widely used to code business logic in information management related system. More friendly to corporate developers. BotSharp adopts machine learning algrithm in C# directly. That will facilitate the feature of the typed language C#, and be more easier when refactoring code in system scope.

Why we do this? Because we all know Python is not friendly programming language for enterprise developers, it's not only because it's low performance but also it's a type weak language, it will be a disaster if you use Python to build your bussiness system.

BotSharp is in accordance with components principle strictly, decouples every part that is needed in the platform builder. So you can choose different UI/UX, or pick up a different NLP Tagger, or select a more advanced algorithm to do NER task. They are all modulized based on unified interfaces.

Some Features

  • Built-in multi-agents and conversation management.
  • Support multiple LLM platforms.
  • Support export/ import agent from other bot platforms directly.
  • Support different open source UI Chatbot UI, HuggingChat UI.
  • Integrate with popular message channels like Facebook Messenger, Slack and Telegram.

Quick Started

  1. Run backend service
 PS D:\> git clone https://github.com/dotnetcore/BotSharp
 PS D:\> cd BotSharp
 PS D:\BotSharp\> dotnet run -p .\src\WebStarter
  1. Run UI project, reference to Chatbot UI.

Extension Libraries

BotSharp uses component design, the kernel is kept to a minimum, and business functions are implemented by external components. The modular design also allows contributors to better participate.

  • Chatbot UI connector.
  • A channel module of BotSharp for Facebook Messenger.
  • A channel module of BotSharp for Tencent Wechat.
  • A channel module of BotSharp for Telegram.

Documents

Read the docs: https://botsharp.readthedocs.io

If you feel that this project is helpful to you, please Star the project, we would be very grateful.

Member project of SciSharp STACK which is the .NET based ecosystem of open-source software for mathematics, science, and engineering.

Scan QR code to join TIM group:

SciSharp STACK

Overview

Name With OwnerSciSharp/BotSharp
Primary LanguageC#
Program languageC# (Language Count: 4)
Platform
License:Apache License 2.0
Release Count18
Last Release Namev1.3.2-release (Posted on )
First Release Namev0.3 (Posted on )
Created At2017-12-17 13:51:22
Pushed At2024-05-03 18:53:56
Last Commit At2024-05-03 13:53:47
Stargazers Count2k
Watchers Count122
Fork Count409
Commits Count1.7k
Has Issues Enabled
Issues Count69
Issue Open Count17
Pull Requests Count342
Pull Requests Open Count0
Pull Requests Close Count13
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top