preapprovedPrompt function

String preapprovedPrompt(
  1. String markdown,
  2. String userPrompt
)

Prompt for preapproved domains (allows full extraction).

Implementation

String preapprovedPrompt(String markdown, String userPrompt) =>
    '''
Here is the content from a documentation page:

<content>
$markdown
</content>

User request: $userPrompt

Extract the relevant information from the content above. You may include code examples, API signatures, and technical details as needed.''';