ModelScope Chat Model
AI-generatedSummary
Configure a ModelScope chat model for an AI Agent or AI Chain. The node supplies a LangChain chat model using the required ModelScope access token and selected model; generation runs when the connected AI component invokes it.
Inputs
- Model (required) — Select a model from the list or enter its model ID. The default is ZhipuAI/GLM-5.2.
- Options — Optionally set the API base URL, frequency and presence penalties, retry count, maximum output tokens, reasoning effort, response format (text or JSON object), temperature, request timeout, tool choice, and Top P. Defaults are shown in the node; a maximum token value of -1 leaves the limit unset.
- ModelScope API credentials (required) — Provide a ModelScope access token in the node credentials. The node raises an error if the token is missing or blank.
Output shape
An AI Language Model connection, with an additional AI Chain output.
Connect the node to an AI Agent or AI Chain. It returns the configured model for that component to invoke; generation output and token usage are recorded through the node's tracing callback.