Amazon Titan Chat Completions
Overview
You can use this Snap to generate chat completions using the specified Amazon Titan Text model and model parameters.

- This is a Transform-type Snap.
Works in Ultra Tasks
Prerequisites
None.
Limitations and known issues
None.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input | This Snap supports a maximum of one binary or document input view. By default, the input view is set to document, and when using a document input type, you must provide a field to specify the path to the input prompt. The Snap requires a prompt, which can be generated either by the Amazon Bedrock Prompt Generator or any user-desired prompt intended for submission to the chat completions LLM API. | Mapper |
| Output | This Snap has at the most one document output view. The Snap provides generated chat completions from Amazon Titan Text. | Mapper |
| Learn more about Error handling. | ||
Snap settings
- Expression icon (
): Allows using JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
- SnapGPT (
): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
- Suggestion icon (
): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
- Upload
: Uploads files. Learn more.
| Field/Field set | Type | Description |
|---|---|---|
| Label | String |
Required. Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: Amazon Titan Chat Completions Example: Create customer support chatbots |
| Model name | String/Expression/ Suggestion |
Required. Specify the model name to use for the chat completion. Learn more about the list of supported Amazon Titan Text models for Amazon Bedrock. Default value: N/A Example: amazon.titan-text-lite-v1 |
| Prompt | String/Expression |
Appears when you select Document as the Input type. Required. Specify the prompt to send to the chat completions endpoint as the user message. Default value: N/A Example: $msg |
| Model parameters | Configure the parameters to tune the model runtime. | |
| Maximum tokens | Integer/Expression |
Specify the maximum number of tokens to generate in the chat completion. If left blank, the default value of the endpoint is used. Default value: N/A Example: 50 |
| Temperature | Decimal/Expression |
Specify the sampling temperature to use a decimal value between 0 and 1. If left blank, the default value of the endpoint is used. Default value: N/A Example: 0.2 |
| Top P | Decimal/Expression |
Specify the nucleus sampling value, a decimal value between 0 and 1. If left blank, the default value of the endpoint is used. Default value: N/A Example: 0.2 |
| Snap execution | Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Validate & Execute Example: Execute only |