class BedrockTitanChatModel extends AbstractBedrockChatModel<BedrockTitanChatModelResponse> {

    @Builder.Default
    private final String model = Types.TitanTextExpressV1.getValue();

    @Override
    protected Map<String, Object> getRequestParameters(String prompt) {<FILL_FUNCTION_BODY>}

    @Override
    protected String getModelId() {
        return model;
    }

    @Override
    public Class<BedrockTitanChatModelResponse> getResponseClassType() {
        return BedrockTitanChatModelResponse.class;
    }

    /**
     * Bedrock Amazon Titan model ids
     */
    @Getter
    public enum Types {
        TitanTg1Large("amazon.titan-tg1-large"),
        TitanTextExpressV1("amazon.titan-text-express-v1");

        private final String value;

        Types(String modelID) {
            this.value = modelID;
        }
    }
}


        final Map<String, Object> textGenerationConfig = new HashMap<>(4);
        textGenerationConfig.put("maxTokenCount", getMaxTokens());
        textGenerationConfig.put("temperature", getTemperature());
        textGenerationConfig.put("topP", getTopP());
        textGenerationConfig.put("stopSequences", getStopSequences());

        final Map<String, Object> parameters = new HashMap<>(2);
        parameters.put("inputText", prompt);
        parameters.put("textGenerationConfig", textGenerationConfig);

        return parameters;
    
<methods>public non-sealed void <init>() ,public Response<dev.langchain4j.data.message.AiMessage> generate(List<dev.langchain4j.data.message.ChatMessage>) <variables>private static final java.lang.String ASSISTANT_PROMPT,private static final java.lang.String HUMAN_PROMPT,private final java.lang.String assistantPrompt,private final BedrockRuntimeClient client,private final AwsCredentialsProvider credentialsProvider,private final java.lang.String humanPrompt,private final java.lang.Integer maxRetries,private final int maxTokens,private final Region region,private final java.lang.String[] stopSequences,private final float temperature,private final float topP