Interface GeminiRequestFunction<InputT extends BaseInput,OutputT extends BaseResponse>

All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GeminiRequestFunction<InputT extends BaseInput,OutputT extends BaseResponse> extends Serializable
Functional interface for custom request functions to the Gemini API.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(String modelName, List<InputT> batch, com.google.genai.Client client)