---
title: "TextGenerationPipeline"
sidebar_label: "TextGenerationPipeline"
description: "The clika_runtime.modelverse.pipelines TextGenerationPipeline class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

``pipe(prompt, **decode_knobs) -> [{"generated_text": prompt + reply}]``;
    a list of prompts answers one list per prompt, the prompts generated as
    one batch (:meth:`GenerativeModel.generate_batch`); a conversation (a
    list of ``{"role", "content"}`` turns) answers the turns plus the
    assistant's.
