AI21 Labs Prompt AI action
- Updated: 2024/05/30
AI21 Labs Prompt AI action
AI21 Labs prompt AI action connects automations to Amazon Bedrock AI21 Labs prompt AI functionality. This action enables automations to generate human-quality text, translate languages, write different kinds of creative content, and answer questions in an informative way, all based on user-defined prompts.
Prerequisites
- You must have the Bot creator role to use the AI21 Labs Prompt AI action in a bot.
- Ensure that you have the necessary credentials to send a request. For more information on acquiring the credentials, see Amazon Bedrock: Authenticate action.
This example shows how to send a natural language message using the AI21 Labs Prompt AI action and get an appropriate response.