Table of Contents

Class PartialArg

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A streamed piece of a function call's arguments. Vertex AI only; enabled with StreamFunctionCallArguments.

public class PartialArg
Inheritance
PartialArg
Inherited Members
Extension Methods

Properties

BoolValue

The value, when it is a boolean.

[JsonPropertyName("boolValue")]
public bool? BoolValue { get; set; }

Property Value

bool?

JsonPath

JSON path of the argument this value belongs to, for example $.location.

[JsonPropertyName("jsonPath")]
public string? JsonPath { get; set; }

Property Value

string

NullValue

Set to NULL_VALUE when the value is JSON null.

[JsonPropertyName("nullValue")]
public string? NullValue { get; set; }

Property Value

string

NumberValue

The value, when it is a number.

[JsonPropertyName("numberValue")]
public double? NumberValue { get; set; }

Property Value

double?

StringValue

The value, when it is a string (or a chunk of a string).

[JsonPropertyName("stringValue")]
public string? StringValue { get; set; }

Property Value

string

WillContinue

True if more chunks of this argument will follow.

[JsonPropertyName("willContinue")]
public bool? WillContinue { get; set; }

Property Value

bool?