Interface OllamaRestApi
@Path("")
@Consumes("application/json")
@Produces("application/json")
public interface OllamaRestApi
This Microprofile REST client is used as the building block of all the API calls to HuggingFace.
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 TypeMethodDescriptiongenerate(CompletionRequest request) static com.fasterxml.jackson.databind.ObjectMapperobjectMapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper)
-
Method Details
-
generate
-
objectMapper
static com.fasterxml.jackson.databind.ObjectMapper objectMapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper)
-