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!


Inputs

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: https://developers.generativeai.google/api/rest/generativelanguage/Message
integration google/api integration
temperature number Controls the randomness of the output.
candidateCount integer The number of generated response messages to return.

Outputs

Name Required Type Description
candidates array

Related Tags