Skip to content

XaiReasoning

Namespace: Vercel.AI.Xai

public sealed class XaiReasoning : GeneratedReasoning

Reasoning text that carries the xAI Responses item id and encrypted content.

Inheritance: object → GeneratedContent → GeneratedReasoning

View source

public XaiReasoning(string text, JsonElement? providerMetadata)

Creates reasoning.

Parameters

Name Type Description
text string
providerMetadata JsonElement?

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product