The Prompt property specifies the message text which will be
sent to the model when the SendMessage method is called. After a
request has completed, this property returns the most recent prompt
sent by the control.
Setting this property does not automatically send a request to the
provider. Applications must call the Ask or SendMessage
method after assigning a prompt value. Although this property may
be assigned an empty string or a string which contains only whitespace,
these methods will reject prompts which do not contain any text.
An application which accepts prompts provided by a user should apply
appropriate validation, filtering or normalization before sending
requests to the service provider. The ValidateText method verifies
that the prompt contains valid message text and the NormalizeText
method can be used to normalize text formatting.
The validation and normalization methods do not perform any semantic
analysis of the prompt and do not provide protection against malicious
or intentionally misleading input. It is the responsibility of the
application to ensure that user-provided input is appropriate for its
intended use. This includes considering scenarios where input may
attempt to override instructions, inject unintended prompts or
otherwise influence the behavior of the model.