Skip to content

AnthropicReasoningContent

Namespace: Vercel.AI.Anthropic

public sealed class AnthropicReasoningContent : GeneratedContent

Reasoning content with a thinking signature or redacted payload.

Inheritance: object → GeneratedContent

View source

AnthropicReasoningContent(string, JsonElement)

Section titled “AnthropicReasoningContent(string, JsonElement)”
public AnthropicReasoningContent(string text, JsonElement providerMetadata)

Creates reasoning content.

Parameters

Name Type Description
text string
providerMetadata JsonElement

View source

public JsonElement ProviderMetadata { get; }

Signature or redacted data.

Value: JsonElement

View source

public string Text { get; }

Thinking text. Empty for redacted thinking.

Value: string

View source

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