Skip to content

AssistantReasoningPart

Namespace: Vercel.AI.Provider

public sealed class AssistantReasoningPart : AssistantContentPart

Reasoning in an assistant message.

Inheritance: object → AssistantContentPart

View source

AssistantReasoningPart(string, IReadOnlyDictionary<string, JsonElement>?)

Section titled “AssistantReasoningPart(string, IReadOnlyDictionary<string, JsonElement>?)”
public AssistantReasoningPart(string text, IReadOnlyDictionary<string, JsonElement>? providerOptions = null)

Creates a reasoning part.

Parameters

Name Type Description
text string
providerOptions IReadOnlyDictionary<string, JsonElement>

View source

public string Text { get; }

Reasoning text.

Value: string

View source

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