private String loadDefaultPrompt(LlmSearcherConfig config) {
        if (config.prompt() != null && ! config.prompt().isEmpty()) {
            return config.prompt();
        } else if (config.promptTemplate().isPresent()) {
            Path path = config.promptTemplate().get();
            try {
                return new String(Files.readAllBytes(path));
            } catch (IOException e) {
                throw new IllegalArgumentException("Could not read prompt template file: " + path, e);
            }
        }
        return null;
    }
Base class for LLM searchers. Provides utilities for calling LLMs and handling properties.

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