Skip to content

Latest commit

 

History

History
 
 

JavaReferenceSkill

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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