Text → Chat
AI-generatedSummary
Execute chat completion with conversation history, returning the assistant's response text and token usage metadata.
Inputs
- textModel — AI model to use for text generation
- messages (required) — Conversation history as a list of messages with roles and content
- textAdvanced — Additional generation settings
Output shape
object
Contains the assistant's response text, the model used, and token usage metadata from the API response.