private Set<String> getFieldsToInclude(Query query) {
        String includedFields = lookupProperty(FIELDS_TO_INCLUDE_PROPERTY, query);
        if (includedFields != null) {
            return Arrays.stream(includedFields.split(",")).map(String::trim).collect(Collectors.toSet());
        }
        return new HashSet<>();
    }
An LLM searcher that uses the RAG (Retrieval-Augmented Generation) model to generate completions.
Prompts are generated based on the search result context.
By default, the context is a concatenation of the fields of the search result hits.

@author lesters
container-search/src/main/java/ai/vespa/search/llm/RAGSearcher.java