Chat → Complete
AI-generatedSummary
Generate a chat-based text completion using a specified Yandex Cloud Foundation Model and a sequence of input messages.
Inputs
- Model (required) — Select the foundation model to use either from a searchable list or by entering the full model URI (format: gpt://{folderId}/{modelName}).
- Messages (required) — Provide a collection of messages forming the chat history, each message specifying a role (user, assistant, or system) and text content.
- Simplify — Choose whether to receive a simplified response output focusing on the primary completion text or the full raw data.
- Options — Configure additional completion parameters such as streaming response, temperature (randomness control), and maximum tokens to generate.
Output shape
a single item containing the model's completion response data
If 'Simplify' is enabled (default true), the output is transformed to return only the top completion text and associated data; otherwise, the full raw response is returned. Errors from the API are handled and surfaced as execution errors.