Generates the answer for prompt with the app's LLM.
prompt
typedef RagGenerate = Future<String> Function(String prompt);