Skip to main content

AI Chat

Type: llm • Category: flow • Tags: llm, ai, text

Description

Generate response using AI

Parameters

NameTypeDescriptionRequiredDefault
systemstringSystem / role promptno
promptstringUser promptno

Help

Overview

This worker leverages an AI model to generate responses tailored to financial market data and related queries. By supplying a system‑level role prompt and a user prompt, the worker produces concise, context‑aware answers that can be used for analysis, reporting, or decision‑support tasks in finance.

Inputs

  • system: string – The system or role prompt that defines the AI’s behavior, such as “You are a financial analyst specializing in equity markets.”
  • prompt: string – The user’s specific question or request, for example “What are the key drivers behind today’s S&P 500 movement?”

Example Usage

A typical call to the worker might look like this:

  • system: “You are an expert financial data analyst. Provide clear, data‑driven insights.”
  • prompt: “Summarize the latest trends in cryptocurrency trading volumes and their impact on market volatility.”

The worker will return a succinct, AI‑generated response that addresses the prompt within the context defined by the system prompt.