Create Chat Response with PaLM

Generate a response using Google PaLM 2's chat message API

by @pixies

How to Use

No instructions provided yet. Have questions?
Ask the PixieBrix Community!


Name Required Type Description
model string The id of the model to use
context string A description of your prompt to the model to help provide context and guide the responses.
messages array The base unit of structured text:
integration google/api integration
temperature number Controls the randomness of the output.
candidateCount integer The number of generated response messages to return.


Name Required Type Description
candidates array

Related Tags