sendMessage

Sends a message using the provided prompt; automatically providing the existing history as context.

Parameters

prompt

The input that, together with the history, will be given to the model as the prompt.


Sends a message using the provided text prompt; automatically providing the existing history as context.