upgrade dependent libraries.

This commit is contained in:
Oceania2018 2019-02-19 07:07:04 -06:00
parent f6eacf7e79
commit b7975257fe
8 changed files with 31 additions and 185 deletions

View file

@ -9,7 +9,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -19,8 +19,8 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.2" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.2.1" /> <PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.2.5" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -1,19 +1,14 @@
using BotSharp.Channel.Weixin.Models; using BotSharp.Channel.Weixin.Models;
using BotSharp.Platform.Abstraction; using BotSharp.Platform.Abstraction;
using BotSharp.Platform.Dialogflow;
using BotSharp.Platform.Dialogflow.Models; using BotSharp.Platform.Dialogflow.Models;
using BotSharp.Platform.Models;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Senparc.CO2NET;
using Senparc.CO2NET.HttpUtility; using Senparc.CO2NET.HttpUtility;
using Senparc.Weixin.MP; using Senparc.Weixin.MP;
using Senparc.Weixin.MP.Entities.Request; using Senparc.Weixin.MP.Entities.Request;
using Senparc.Weixin.MP.MvcExtension; using Senparc.Weixin.MP.MvcExtension;
using System; using System;
using System.Collections.Generic;
using System.IO; using System.IO;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace BotSharp.Channel.Weixin.Controllers namespace BotSharp.Channel.Weixin.Controllers
@ -107,7 +102,7 @@ namespace BotSharp.Channel.Weixin.Controllers
#endregion #endregion
await messageHandler.ExecuteAsync(); //执行微信处理过程 await messageHandler.ExecuteAsync(new System.Threading.CancellationToken()); //执行微信处理过程
#region Response #region Response

View file

@ -72,17 +72,17 @@ If you feel that this project is helpful to you, please Star on the project, we
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BotSharp.Platform.Abstraction" Version="0.2.1" /> <PackageReference Include="BotSharp.Platform.Abstraction" Version="0.3.0" />
<PackageReference Include="BotSharp.Platform.Models" Version="0.2.1" /> <PackageReference Include="BotSharp.Platform.Models" Version="0.3.0" />
<PackageReference Include="CherubNLP" Version="0.1.1" /> <PackageReference Include="CherubNLP" Version="0.1.1" />
<PackageReference Include="Colorful.Console" Version="1.2.9" /> <PackageReference Include="Colorful.Console" Version="1.2.9" />
<PackageReference Include="CSRedisCore" Version="3.0.30" /> <PackageReference Include="CSRedisCore" Version="3.0.37" />
<PackageReference Include="DotNetToolkit" Version="1.6.0" /> <PackageReference Include="DotNetToolkit" Version="1.6.0" />
<PackageReference Include="EntityFrameworkCore.BootKit" Version="1.10.0" /> <PackageReference Include="EntityFrameworkCore.BootKit" Version="1.11.0" />
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="NumSharp" Version="0.6.2" /> <PackageReference Include="NumSharp" Version="0.7.2" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" /> <PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup> </ItemGroup>

View file

@ -18,7 +18,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.2" />
<PackageReference Include="Turing.NET" Version="1.0.0" /> <PackageReference Include="Turing.NET" Version="1.0.0" />
</ItemGroup> </ItemGroup>

View file

@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -1,45 +1,20 @@
The Open Source AI Chatbot Platform Builder # The Open Source AI Chatbot Platform Builder
======================================================
.. image:: https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg
:target: `gitter`_
:alt: gitter
:align: left
.. image:: https://img.shields.io/hexpm/l/plug.svg
:target: `license`_
:alt: Hex.pm
:align: left
.. image:: https://img.shields.io/nuget/dt/BotSharp.Core.svg
:target: `botsharpnuget`_
:alt: NuGet
:align: left
.. image:: https://ci.appveyor.com/api/projects/status/kar0mxwbnu8rbwkm?svg=true
:align: left
.. image:: https://img.shields.io/badge/member%20project%20of-NCC-9e20c9.svg
:target: `ncc`_
:alt: Member project of .NET Core Community
[![Join the chat at https://gitter.im/publiclab/publiclab](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/sci-sharp/community)[![Apache 2.0](https://img.shields.io/hexpm/l/plug.svg)](https://raw.githubusercontent.com/Oceania2018/BotSharp/master/LICENSE)[![NuGet](https://img.shields.io/nuget/dt/BotSharp.Core.svg)](https://www.nuget.org/packages/BotSharp.Core)[![Appveyor](https://ci.appveyor.com/api/projects/status/kar0mxwbnu8rbwkm?svg=true)](https://www.nuget.org/packages/BotSharp.Core)
*"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."* *"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. **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.
.. raw:: html <img src="/docs/static/screenshots/BotSharp_arch.png" width="100%">
<img src="/docs/static/screenshots/BotSharp_arch.png" width="100%">
It's witten in C# running on .Net Core that is full cross-platform framework. 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. It's witten in C# running on .Net Core that is full cross-platform framework. 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 disater if you use python to build your bussiness system. 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 disater if you use python to build your bussiness system.
BotSharp is in accordance with components princple strictly, decouples every part that needed in the platform builder. So you can choose different UI/UX, or pick up a different NLP Tagger, or select a more advanced algrithm to do NER task. They are all modulized based an unfied interfaces. BotSharp is in accordance with components princple strictly, decouples every part that needed in the platform builder. So you can choose different UI/UX, or pick up a different NLP Tagger, or select a more advanced algrithm to do NER task. They are all modulized based an unfied interfaces.
Some Features ### Some Features
-------------
* Integrated debugging is easier without relying on any other machine learning algorithm libraries. * Integrated debugging is easier without relying on any other machine learning algorithm libraries.
* Built-in multi-Agents management, easy to build Bot as a Service platform. * Built-in multi-Agents management, easy to build Bot as a Service platform.
@ -47,67 +22,48 @@ Some Features
* Use the natural language processing pipeline mechanism to work with extensions easily, and build your own unique robot processing flows. * Use the natural language processing pipeline mechanism to work with extensions easily, and build your own unique robot processing flows.
* Rewrote NLP algorithm from ground without historical issues. * Rewrote NLP algorithm from ground without historical issues.
* Support export/ import agent from other bot platforms directly. * Support export/ import agent from other bot platforms directly.
* Support different UI providers like `Rasa UI`_ and `Articulate UI`_. * Support different UI providers like `Rasa UI` and `Articulate UI`.
* Support for multiple data request and response formats such as Rasa NLU and Dialogflow. * Support for multiple data request and response formats such as Rasa NLU and Dialogflow.
* Integrate with popular social platforms like Facebook Messenger, Slack and Telegram. * Integrate with popular social platforms like Facebook Messenger, Slack and Telegram.
* Multi-core parallel computing optimization, High-Performance C# on GPUs in Hybridizer. * Multi-core parallel computing optimization, High-Performance C# on GPUs in Hybridizer.
Quick Started ### Quick Started
-------------
* Make sure that you have downloaded the related components. * Make sure that you have downloaded the related components.
* See the file "BotSharp\BotSharp.WebHost\Settings\app.json",change the path to your own project's path. * See the file "BotSharp\BotSharp.WebHost\Settings\app.json",change the path to your own project's path.
* Select dialogflow or articulate to make it work. * Select dialogflow or articulate to make it work.
You can use docker compose to run BotSharp quickly, make sure you've got `Docker`_ installed. You can use docker compose to run BotSharp quickly, make sure you've got `Docker`_ installed.
::
```sh
PS D:\> git clone https://github.com/dotnetcore/BotSharp PS D:\> git clone https://github.com/dotnetcore/BotSharp
PS D:\> cd BotSharp PS D:\> cd BotSharp
PS D:\BotSharp\> docker-compose -f dockerfiles/docker-compose-core.yml up PS D:\BotSharp\> docker-compose -f dockerfiles/docker-compose-core.yml up
```
Point your web browser at http://localhost:3112 and enjoy BotSharp Core. Point your web browser at http://localhost:3112 and enjoy BotSharp Core.
Extension Libraries ### 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. 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.
* BotSharp platform emulator extension which is compatible with RASA NLU. `botsharp-rasa`_ * BotSharp platform emulator extension which is compatible with RASA NLU.
* BotSharp platform emulator extension which is compatible with Google Dialogflow. * BotSharp platform emulator extension which is compatible with Google Dialogflow.
* BotSharp platform emulator extension which is compatible with Articulate AI. `botsharp-articulate`_ * BotSharp platform emulator extension which is compatible with Articulate AI.
* BotSharp platform emulator extension which is compatible with RasaTalk. `botsharp-rasatalk`_ * BotSharp platform emulator extension which is compatible with RasaTalk.
* A channel module of BotSharp for Facebook Messenger. * A channel module of BotSharp for Facebook Messenger.
* A channel module of BotSharp for Tencent Wechat. * A channel module of BotSharp for Tencent Wechat.
* A channel module of BotSharp for Telegram. * A channel module of BotSharp for Telegram.
* Articulate UI customized for BotSharp NLU. `articulate-ui`_ * Articulate UI customized for BotSharp NLU.
### Documents
Documents
---------
Read the docs: https://botsharp.readthedocs.io Read the docs: https://botsharp.readthedocs.io
Feel free to message me on
.. image:: https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg
:target: `gitter`_
If you feel that this project is helpful to you, please Star the project, we would be very grateful. If you feel that this project is helpful to you, please Star the project, we would be very grateful.
Powered by `SciSharp`_ which is the .NET based ecosystem of open-source software for mathematics, science, and engineering. Powered by [SciSharp STACK](https://github.com/SciSharp) which is the .NET based ecosystem of open-source software for mathematics, science, and engineering.
Scan to join group in Wechat Scan QR code to join TIM group:
.. raw:: html ![SciSharp STACK](https://raw.githubusercontent.com/SciSharp/TensorFlow.NET/master/docs/TIM.png)
<img src="/docs/static/logos/WechatQRCode.png" width="150px">
.. _Docker: https://www.docker.com
.. _Rasa UI: https://github.com/paschmann/rasa-ui
.. _Articulate UI: https://github.com/Oceania2018/articulate-ui
.. _gitter: https://gitter.im/botsharpcore/Lobby
.. _license: https://raw.githubusercontent.com/Oceania2018/BotSharp/master/LICENSE
.. _botsharpnuget: https://www.nuget.org/packages/BotSharp.Core
.. _botsharp-rasa: https://github.com/Oceania2018/botsharp-rasa
.. _botsharp-articulate: https://github.com/Oceania2018/botsharp-articulate
.. _botsharp-rasatalk: https://github.com/Obrain2016/botsharp-rasatalk
.. _articulate-ui: https://github.com/Oceania2018/articulate-ui
.. _SciSharp: https://github.com/SciSharp
.. _ncc: https://github.com/dotnetcore

View file

@ -1,105 +0,0 @@
开源人工智能聊天机器人平台构建框架
===============================
.. image:: https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg
:target: `gitter`_
:alt: gitter
:align: left
.. image:: https://img.shields.io/hexpm/l/plug.svg
:target: `license`_
:alt: Hex.pm
:align: left
.. image:: https://img.shields.io/nuget/dt/EntityFrameworkCore.BootKit.svg
:target: `botsharpnuget`_
:alt: NuGet
:align: left
.. image:: https://ci.appveyor.com/api/projects/status/kar0mxwbnu8rbwkm?svg=true
*"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.
.. raw:: html
<img src="https://raw.githubusercontent.com/Oceania2018/BotSharp/master/docs/static/logos/BotSharpEngine.jpg" width="100%">
It's witten in C# running on .Net Core that is full cross-platform framework. 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 disater if you use python to build your bussiness system.
BotSharp is in accordance with components princple strictly, decouples every part that needed in the platform builder. So you can choose different UI/UX, or pick up a different NLP Tagger, or select a more advanced algrithm to do NER task. They are all modulized based an unfied interfaces.
Some Features
-------------
* Integrated debugging is easier without relying on any other machine learning algorithm libraries.
* Built-in multi-Agents management, easy to build Bot as a Service platform.
* Context In/ Out with lifespan to make conversion flow be controllable.
* Use the natural language processing pipeline mechanism to work with extensions easily, and build your own unique robot processing flows.
* Rewrote NLP algorithm from ground without historical issues.
* Support export/ import agent from other bot platforms directly.
* Support different UI providers like `Rasa UI`_ and `Articulate UI`_.
* Support for multiple data request and response formats such as Rasa NLU and Dialogflow.
* Integrate with popular social platforms like Facebook Messenger, Slack and Telegram.
* Multi-core parallel computing optimization, High-Performance C# on GPUs in Hybridizer.
Quick Started
-------------
You can use docker compose to run BotSharp quickly, make sure you've got `Docker`_ installed.
::
PS D:\> git clone https://github.com/Oceania2018/BotSharp
PS D:\> cd BotSharp
PS D:\BotSharp\> docker-compose -f dockerfiles/docker-compose-articulateui.yml up
Point your web browser at http://localhost:3000 and enjoy BotSharp with Articulate-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.
* BotSharp platform emulator extension which is compatible with RASA NLU. `botsharp-rasa`_
* BotSharp platform emulator extension which is compatible with Google Dialogflow. `botsharp-dialogflow`_
* BotSharp platform emulator extension which is compatible with Articulate AI. `botsharp-articulate`_
* BotSharp platform emulator extension which is compatible with RasaTalk. `botsharp-rasatalk`_
* A channel module of BotSharp for Facebook Messenger. `botsharp-channel-fbmessenger`_
* A channel module of BotSharp for Tencent Wechat. `botsharp-channel-weixin`_
* A channel module of BotSharp for Telegram. `botsharp-channel-telegram`_
* Articulate UI customized for BotSharp NLU. `articulate-ui`_
Documents
---------
Read the docs: https://botsharp.readthedocs.io
Feel free to message me on
.. image:: https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg
:target: `gitter`_
If you feel that this project is helpful to you, please Star on the project, we will be very grateful.
Scan to join group in Wechat
.. raw:: html
<img src="https://raw.githubusercontent.com/Oceania2018/BotSharp/master/docs/static/logos/WechatQRCode.png" width="150px">
.. _Docker: https://www.docker.com
.. _Rasa UI: https://github.com/paschmann/rasa-ui
.. _Articulate UI: https://github.com/Oceania2018/articulate-ui
.. _gitter: https://gitter.im/botsharpcore/Lobby
.. _license: https://raw.githubusercontent.com/Oceania2018/BotSharp/master/LICENSE
.. _botsharpnuget: https://www.nuget.org/packages/BotSharp.Core
.. _botsharp-rasa: https://github.com/Oceania2018/botsharp-rasa
.. _botsharp-dialogflow: https://github.com/Oceania2018/botsharp-dialogflow
.. _botsharp-articulate: https://github.com/Oceania2018/botsharp-articulate
.. _botsharp-rasatalk: https://github.com/Obrain2016/botsharp-rasatalk
.. _botsharp-channel-fbmessenger: https://github.com/Oceania2018/botsharp-channel-fbmessenger
.. _botsharp-channel-weixin: https://github.com/Oceania2018/botsharp-channel-weixin
.. _botsharp-channel-telegram: https://github.com/Oceania2018/botsharp-channel-telegram
.. _articulate-ui: https://github.com/Oceania2018/articulate-ui