Prompt extension type
A prompt or prompt template that the server offers.
Constructors
-
Prompt.new({required String name, String? description, List<
PromptArgument> ? arguments}) -
factory
-
Prompt.fromMap(Map<
String, Object?> _value)
Properties
-
arguments
→ List<
PromptArgument> ? -
A list of arguments to use for templating the prompt.
no setter
- description → String?
-
An optional description of what this prompt provides.
no setter
- name → String
-
The name of the prompt or prompt template.
no setter