Vertex AI: Prompt AI action
- Updated: 2024/05/30
Vertex AI: Prompt AI action
The Vertex AI: Prompt AI action uses Google's PaLM API, which provides access to the model's ability to generate text. You can give the model a text prompt in English, and it will complete the text.
Prerequisites
- You must have the Bot creator role to use the Vertex Prompt AI action in a bot.
- Ensure that you have the necessary credentials to send a request and have included Vertex AI: Connect action before calling any Google Cloud actions.
This example shows how to send a natural language prompt using the Vertex Prompt AI action and to get an appropriate response.