private FieldValue generate(Prompt prompt, ExecutionContext context) {
        var generatorContext =  new FieldGenerator.Context(destination, targetType, context.getCache())
                .setLanguage(context.resolveLanguage(linguistics))
                .setComponentId(generator.id());

        return generator.component().generate(prompt, generatorContext);
    }
The target type we are generating into.
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/GenerateExpression.java