StreamTextInclude
Namespace: Vercel.AI
public sealed class StreamTextIncludeWhat streamText keeps of the request and the provider stream. Maps to StreamTextInclude.
Inheritance: object
Properties
Section titled “Properties”RawChunks
Section titled “RawChunks”public bool RawChunks { get; init; }Whether to forward the provider’s raw chunks as RawPart in the full stream. It asks the model to include them.
Maps to rawChunks. The default is <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
Value: bool
RequestBody
Section titled “RequestBody”public bool RequestBody { get; init; }Whether to retain the request body in the start-step part. The request body can be large when sending images or files.
Maps to requestBody. The default is <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
Value: bool
RequestMessages
Section titled “RequestMessages”public bool RequestMessages { get; init; }Whether to retain the request messages in the start-step part. The request messages can be large when sending images or files.
Maps to requestMessages. The default is <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
Value: bool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product