microsoft / microsoft/semantic-kernel-java

Java: API - What about importing skills/plugins from the root directory in the classpath?

オープン
#128 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

java
主要言語
Java
スター
276
フォーク
56
平均マージ
17時間 45分
マージ済み PR(30日)
4

説明

Today, to import a skill from the classpath we use the following SkillExecutor method:

ReadOnlyFunctionCollection importSkillFromResources(
            String pluginDirectory, String skillName, String functionName);

But when the skill is at the root of the classpath, we need to invoke the method passing a blank to the pluginDirectory parameter:

kernel.importSkillFromResources("", "NarrationSkill", "NarrateFight");

It would be good to have another method that does not have a pluginDirectory parameter and looks straight from the root:

kernel.importSkillFromResources("NarrationSkill", "NarrateFight");

WDYT ?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、SkillExecutor と既存の importSkillFromResources(String pluginDirectory, String skillName, String functionName) メソッドを見つけます。空の pluginDirectory が root-classpath の skill をどのように解決するかを確認し、次に、要求されたオーバーロードが 2 引数の呼び出しをサポートしつつ、既存のメソッドの動作を維持していることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。