The component definition and tasks are defined in the definition.yaml and tasks.yaml files respectively.
Setup
In order to communicate with Redis Labs, the following connection details need to be
provided. You may specify them directly in a pipeline recipe as key-value pairs
within the component's setup block, or you can create a Connection from
the Integration Settings
page and reference the whole setup as setup: ${connection.<my-connection-id>}.
Field
Field ID
Type
Note
Host (required)
host
string
Redis host to connect to.
Port (required)
port
integer
Port of Redis.
Username
username
string
Username associated with Redis.
Password
password
string
Password associated with Redis.
SSL Connection
ssl
boolean
Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible.
Supported Tasks
Retrieve Chat History
Retrieve chat history from Redis.
Input
Field ID
Type
Description
Task ID (required)
task
string
TASK_RETRIEVE_CHAT_HISTORY
Session ID (required)
session-id
string
A unique identifier for the chat session.
Latest K
latest-k
integer
The number of latest conversation turns to retrieve. A conversation turn typically includes one participant speaking or sending a message, and the other participant(s) responding to it.
Include System Message if Exists
include-system-message
boolean
Include system message in the retrieved conversation turns if exists.