How to merge API 2 requests that use same input text into 1 request?

Hi! I’m curious if there’s a way to combine 2 requests for 2 different API functions that use the same input text into 1 request. For example, if I have a block of text that I want to 1) Summarize, and then 2) do Sentiment analysis on… Do I have to send 2 separate requests, or can I merge them into 1 request?

The end result I’m looking for is something like “Gist of the chat is ____ and people felt ___”


1 Like

interesting pattern to use. Thanks for the inspiration!! Will play around :slight_smile:

1 Like