message
Adds a generic message to the prompt.
This method allows adding any type of Message object.
Example:
message(Message.System("You are a helpful assistant.", metaInfo = ...))Content copied to clipboard
Parameters
message
The message to add
Adds a generic message to the prompt.
This method allows adding any type of Message object.
Example:
message(Message.System("You are a helpful assistant.", metaInfo = ...))The message to add