Skip to main content
Use a generative prompt node to generate AI-driven content using large language models (LLMs). To configure a generative prompt node in your agentic workflow, call the prompt() method. In this method, define the following parameters: The following example shows how to configure a generative prompt node in a Python function and instantiate it in a agentic workflow:
Python