Skip to content

RawStreamPart

Namespace: Vercel.AI.Provider

public sealed class RawStreamPart : LanguageModelStreamPart

One raw provider stream event.

Inheritance: object → LanguageModelStreamPart

View source

public RawStreamPart(string rawJson)

Creates a raw part.

Parameters

Name Type Description
rawJson string

View source

public string RawJson { get; }

Raw event JSON.

Value: string

View source

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