Interface OpenshiftAiRestApi
@Path("/v1/task")
@Consumes("application/json")
@Produces("application/json")
public interface OpenshiftAiRestApi
This Microprofile REST client is used as the building block of all the API calls to OpenShift AI.
The implementation is provided by the Reactive REST Client in Quarkus.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIntroduce a custom logger as the stock one logs at the DEBUG level by default... -
Method Summary
Modifier and TypeMethodDescriptionchat(TextGenerationRequest request) static com.fasterxml.jackson.databind.ObjectMapperobjectMapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper)
-
Method Details
-
chat
-
objectMapper
static com.fasterxml.jackson.databind.ObjectMapper objectMapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper)
-