Interface VertxAiGeminiRestApi
@Path("v1/projects/{projectId}/locations/{location}/publishers/{publisher}/models")
@RegisterProvider(TokenFilter.class)
public interface VertxAiGeminiRestApi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic interfacestatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMappermapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper) predict(GenerateContentRequest request, VertxAiGeminiRestApi.ApiMetadata apiMetadata)
-
Method Details
-
predict
@Path("{modelId}:generateContent") @POST GenerateContentResponse predict(GenerateContentRequest request, @BeanParam VertxAiGeminiRestApi.ApiMetadata apiMetadata) -
mapper
static com.fasterxml.jackson.databind.ObjectMapper mapper(com.fasterxml.jackson.databind.ObjectMapper defaultObjectMapper)
-