microsoft / microsoft/semantic-kernel-java
Java: API - What about importing skills/plugins from the root directory in the classpath?
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 276
- Fork
- 56
- Merge trung bình
- 17 giờ 45 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
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 ?
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách xác định SkillExecutor và phương thức hiện có importSkillFromResources(String pluginDirectory, String skillName, String functionName). Kiểm tra cách một pluginDirectory rỗng phân giải một skill từ root-classpath, sau đó xác minh rằng overload được yêu cầu hỗ trợ lời gọi với hai đối số mà vẫn giữ nguyên hành vi của phương thức hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100