RawPart
Namespace: Vercel.AI
public sealed class RawPart : TextStreamPartA raw chunk of the provider stream. It appears only when RawChunks is set.
Inheritance: object → TextStreamPart
Constructors
Section titled “Constructors”RawPart(JsonElement)
Section titled “RawPart(JsonElement)”public RawPart(JsonElement rawValue)Creates a raw part.
Parameters
| Name | Type | Description |
|---|---|---|
rawValue |
JsonElement |
Properties
Section titled “Properties”RawValue
Section titled “RawValue”public JsonElement RawValue { get; }The raw value the provider sent. Maps to rawValue.
Value: JsonElement
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product