chatPromptFor function
chatPrompt for library: rules and examples that name a component or
@call library lacks are left out, and the "Pick the medium" rule names
only media it has. For intelligentUi this is chatPrompt itself.
Implementation
PromptOptions chatPromptFor(OpenUiLibrary library) =>
identical(library, intelligentUi)
? chatPrompt
: PromptOptions(
bindings: true,
additionalRules: _textsFor(library, chatRules),
examples: _textsFor(library, chatExamples),
);