首页 新闻 赞助 找找看

Semantic Kernel 有哪些组件以及它们的作用是什么

0
悬赏园豆:30 [待解决问题]

如题,Semantic Kernel 有哪些组件以及它们的作用分别是什么?

dudu的主页 dudu | 高人七级 | 园豆:31298
提问于:2024-02-04 21:05
< >
分享
所有回答(1)
0

Semantic Kernel 的组件(来源):

  • Kernel
  • Memories
  • Planner
  • Connectors
  • Plugins (aka Skills)
dudu | 园豆:31298 (高人七级) | 2024-02-05 12:07

Semantic Kernel 将 embedding 的功能封装到了 Memory 中,用来存储上下文信息,就好像电脑的内存一样,而 LLM 就像是 CPU 一样,我们所需要做的就是从内存中取出相关的信息交给 CPU 处理就好了。

支持(0) 反对(0) dudu | 园豆:31298 (高人七级) | 2024-02-05 21:34

摘录 Intro to Semantic Kernel – Part One 中的文字回答这个问题

关于 Plugins 与 Planner

In short, with SK, we can define Plugins that drive the semantic hardware in certain ways, and maintain collections of Plugins that can be automatically selected by SK’s Planner if a task requires multiple steps for successful completion.

关于 Memory

SK offers a Memory capability, allowing the Planner to retrieve information, from a vector database for instance, and based on that data, distill a Plan of Steps to be executed using certain plugins.

支持(0) 反对(0) dudu | 园豆:31298 (高人七级) | 2024-02-07 13:23

a Planner is a mechanism to autonomously orchestrate AI tasks based on a user’s request.

来自 Intro to Semantic Kernel – Part Two

支持(0) 反对(0) dudu | 园豆:31298 (高人七级) | 2024-02-08 13:35

关于 kernel

One of the key concepts in Semantic Kernel is the kernel itself, which is the main object that we will use to orchestrate our LLM based workflows. Initially, the kernel has very limited functionality; all of its features are largely powered by external components that we will connect to. The kernel then acts as a processing engine that fulfils a request by invoking appropriate components to complete the given task.

来源:A Pythonista’s Intro to Semantic Kernel

支持(0) 反对(0) dudu | 园豆:31298 (高人七级) | 2024-02-11 22:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册