Skip to content

GooglePartialArgumentsUpdate

Namespace: Vercel.AI.Google

public sealed class GooglePartialArgumentsUpdate

The object and text produced by one GoogleJsonAccumulator update.

Inheritance: object

View source

GooglePartialArgumentsUpdate(JsonObject, string)

Section titled “GooglePartialArgumentsUpdate(JsonObject, string)”
public GooglePartialArgumentsUpdate(JsonObject current, string textDelta)

Creates an update.

Parameters

Name Type Description
current JsonObject
textDelta string

View source

public JsonObject Current { get; }

Arguments accumulated so far.

Value: JsonObject

View source

public string TextDelta { get; }

JSON text emitted for this chunk.

Value: string

View source

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