public String generate(String prompt, DecoderOptions options) {
        return switch (options.getSearchMethod()) {
            case GREEDY -> generateGreedy(prompt, options);
            default -> generateNotImplemented(options);
        };
    }
Generates text by evaluating an encoder model to encode the prompt, and
repeatedly evaluating a decoding model to generate tokens until some
stopping criteria has been met.

@param prompt  the prompt to generate text from
@param options options for text generation
@return a text generated from the prompt
model-integration/src/main/java/ai/vespa/llm/clients/OnnxEncoderDecoder.java