RagPromptBuilder typedef

RagPromptBuilder = String Function(String question, List<RagPassage> passages)

Builds the prompt sent to the LLM from the question and the passages found for it.

Implementation

typedef RagPromptBuilder =
    String Function(String question, List<RagPassage> passages);