Files
semantic-kernel/samples/java/JavaReferenceSkill
John Oliver 2b86b1f82c Java: Update version and groupId for release (#1958)
Set correct groupId and move to alpha version
2023-07-12 11:39:16 +01:00
..
2023-05-08 16:32:42 -07:00
2023-05-08 16:32:42 -07:00
2023-05-08 16:32:42 -07:00

Java Reference Skill gRPC Server

This is a sample Java gRPC server that can be invoked via SK's gRPC client as a Native Skill/Function. The purpose of this project is to demonstrate how Polyglot skills can be supported using either REST or gRPC.

Prerequisites

  • Java 17
  • Maven

Build

To build the project, run the following command:

mvn clean package

To generate the gRPC classes, run the following command:

mvn protobuf:compile

Run

To run the project, run the following command:

java -jar ./target/JavaReferenceSkill-1.0-SNAPSHOT-jar-with-dependencies.jar