class BedrockCohereChatModel extends AbstractBedrockChatModel<BedrockCohereChatModelResponse> {

    public enum ReturnLikelihood {
        NONE,
        GENERATION,
        ALL
    }

    @Builder.Default
    private static ReturnLikelihood returnLikelihood = ReturnLikelihood.NONE;
    @Builder.Default
    private final int topK = 0;
    @Builder.Default
    private final String model = Types.CommandTextV14.getValue();

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

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

    @Override
    protected Class<BedrockCohereChatModelResponse> getResponseClassType() {
        return BedrockCohereChatModelResponse.class;
    }

    /**
     * Bedrock Cohere model ids
     */
    @Getter
    public enum Types {
        CommandTextV14("cohere.command-text-v14");

        private final String value;

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

    }
}

        final Map<String, Object> parameters = new HashMap<>(7);

        parameters.put("prompt", prompt);
        parameters.put("max_tokens", getMaxTokens());
        parameters.put("temperature", getTemperature());
        parameters.put("p", getTopP());
        parameters.put("k", getTopK());
        parameters.put("stop_sequences", getStopSequences());
        parameters.put("return_likelihoods", returnLikelihood.name());

        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