Skip to content

GeneratedContent

Namespace: Vercel.AI.Provider

public abstract class GeneratedContent

Content the model generated.

Inheritance: object

Derived: AnthropicCustomContent, AnthropicReasoningContent, AnthropicToolResultContent, GeneratedFileUrl, GoogleToolResult, HuggingFaceToolResult, GeneratedCustom, GeneratedDocumentSource, GeneratedFile, GeneratedReasoning, GeneratedSource, GeneratedText, GeneratedToolApprovalRequest, GeneratedToolCall, GeneratedToolResult

View source

protected GeneratedContent(string type)

Creates content of the given type.

Parameters

Name Type Description
type string

View source

public string Type { get; }

Content type name from the V4 specification.

Value: string

View source

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