GigaChat AI icon

GigaChat AI

Chat with GigaChat AI models with full memory persistence and tool support

GigaChat AI

AI-generated

Summary

Send a user prompt to a selected GigaChat AI model using the provided API credentials and optional memory and tools inputs, optionally invoking supported tools, and return the generated chat response along with metadata.

Inputs

  • modelId (required) — The name and version of the GigaChat AI model to generate the response.
  • prompt (required) — The user's message prompt to send to the AI model.
  • options — Optional settings influencing model behavior, including function call mode (auto or none), max function call iterations (default 5), max tokens to generate (default 1024), repetition penalty (default 1.0), system message (role/instructions for assistant), temperature (0-2 for response randomness, default 0.7), and topP (probability mass considered by model, default 0.9).
  • simplifyOutput — If true, output only the plain text response; otherwise include detailed metadata.
  • removeMarkdown — If true, removes Markdown formatting from the AI response text.

Output shape

a list of JSON objects, one per input item, each containing the generated response text and metadata

Output includes response text, model used, token usage statistics, session ID, and iteration count if simplifyOutput is false. If simplifyOutput is true, output contains only "response" with the plain text answer. The node supports AI memory input to maintain conversation context and AI tool inputs to allow the AI to invoke external tools; results of tool calls are integrated into the conversation context. Markdown removal sanitizes response formatting if requested.

Links

Discussion