BotSharp icon indicating copy to clipboard operation
BotSharp copied to clipboard

Integrate with Semantic Kernel

Open xbotter opened this issue 1 year ago • 2 comments

Semantic Kernel as an integrated SDK provides a large number of basic components, which can serve as the basic access infrastructure for BotSharp.

For example, using SK ITextCompletion to adapt to BotSharp ITextCompletion, we can easily apply any LLM integrated into SK.

Using SK MemoryStore to adapt to BotSharp IKnowledgeService, we can also easily access the corresponding service.

In addition, SK's Plugin will provide a large number of available functions. If it is possible to implement SK Plugin to adapt to BotSharp Agent, it will bring more abundant extension solutions to BotSharp.

  • [x] Semantic Kernel as BotSharp LLM Provider
  • [ ] Semantic Kernel Plugin as BotSharp Agent
  • [ ] Semantic Kernel Memory as BotSharp KnowledgeService
  • [ ] Semantic Kernel Planer as BotSharp Planer

xbotter avatar Oct 20 '23 02:10 xbotter

Is it possible to integrate with SK Planner. Let’s say, BotSharp’s Router can use 3rd Planner for reasoning if user wants to. We know currently BotSharp has a feedback based planning process. I’m thinking of it can also have capability to switch to other approach of planning. In the other words we need to design a new architecture to abstract the Planning interface. Router can use different IPlanning approach.

Oceania2018 avatar Oct 20 '23 12:10 Oceania2018

Is it possible to integrate with SK Planner. Let’s say, BotSharp’s Router can use 3rd Planner for reasoning if user wants to. We know currently BotSharp has a feedback based planning process. I’m thinking of it can also have capability to switch to other approach of planning. In the other words we need to design a new architecture to abstract the Planning interface. Router can use different IPlanning approach.

BotSharp's Router is similar to SK Planner, providing the ability of functional planning. There are multiple types of Planner in SK, including ActionPlanner, SequentialPlanner, and StepwisePlanner. Different Planners have slightly different usage scenarios and are not suitable for BotSharp's Router. Providing IPlanning for self-implementation is a good choice for planning process. Most of the planning process based on LLM is the content of prompt engineering. Perhaps IPlanning can be used to optimize planning through different fine-tuned models?

xbotter avatar Oct 25 '23 11:10 xbotter