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.
- Java 17
- Maven
To build the project, run the following command:
mvn clean package
To generate the gRPC classes, run the following command:
mvn protobuf:compile
To run the project, run the following command:
java -jar ./target/JavaReferenceSkill-1.0-SNAPSHOT-jar-with-dependencies.jar