Streaming model responses

To retrieve results from a streaming model, specify which model stream you want to retrieve results from by specifying a streamId. You can find the available values that you can use as stream IDs for your query in the extendedResults of a search request response.

Warning

Currently, the only Coveo Machine Learning (Coveo ML) model which supports streaming is the Relevance Generative Answering (RGA) model. Other models may add support for streaming responses in the future.

Model Response parameter

Relevance Generative Answering (RGA)

generativeQuestionAnsweringId