> For the complete documentation index, see [llms.txt](https://docs.gdf.ai/gdf-full-stack-engineering/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gdf.ai/gdf-full-stack-engineering/prompting/prompt-chaining.md).

# Prompt Chaining

How to use prompt in combination with operators to chain multiple prompts together for tailored responses

Prompt chaining is the use of multiple requests and operators to get more specific information, add on information, or apply different processes to a root request in a single prompt.\
\
Let’s look at one of the examples from the above section:<br>

{% code overflow="wrap" %}

```
prompt: 
update the http request to return the data from the for loop response above and merge the for loop into the script
```

{% endcode %}

| Root request                                                                | Operator | Secondary request                  |
| --------------------------------------------------------------------------- | -------- | ---------------------------------- |
| update the http request to return the data from the for loop response above | and      | merge the for loop into the script |

&#x20;

In the example above, the secondary request is being used to apply a consolidation process to the root request.
