Closed4
Semantic Kernel
![laiso](https://res.cloudinary.com/zenn/image/fetch/s---QZWhL4t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/3877407207.jpeg)
- MS製のLangChain的なLLMsでがんばる人向けのライブラリ
- Kernerl <- Planner <- Skills というLangChainとは異なる抽象化がされている
- Connectorsというのは「Officeにデータを追加」など自然言語処理の外へ出るようなプログラムを連動して動かすものらしい
![laiso](https://res.cloudinary.com/zenn/image/fetch/s---QZWhL4t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/3877407207.jpeg)
Simple Chat Summary App
CRAでGUIを作ってあるデモインターフェイス
OpenAIのAPI keyを入力するとダミー生成した会話データの要約をSKを通じて行う
本体は samples/dotnet/KernelHttpServer/
以下
/api/skills/ConversationSummarySkill/invoke/SummarizeConversation
のようなエンドポイントで
ConversationSummarySkillのSummarizeConversation関数が呼び出せるようにしてある
中身は英語でプロンプトが定義してある(LangChainと同じ)
![laiso](https://res.cloudinary.com/zenn/image/fetch/s---QZWhL4t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/3877407207.jpeg)
Pllanner
Pllanner自体もSkillになってる
内部XMLの状態を書き換えながら入力に対してGOALになるSkillを呼び出していく? というのでLangChain Agentと近い
![laiso](https://res.cloudinary.com/zenn/image/fetch/s---QZWhL4t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/3877407207.jpeg)
Pythonに対応
このスクラップは2023/08/31にクローズされました