Chat models take a list of messages as input and return a model-generated message as output.
For more details refer to this:
Last updated 2 months ago