Skip to content

GoogleUserTurn

Namespace: Vercel.AI.Google

public sealed class GoogleUserTurn : GoogleTurn

A user turn.

Inheritance: object → GoogleTurn

View source

GoogleUserTurn(IReadOnlyList<GoogleUserPart>)

Section titled “GoogleUserTurn(IReadOnlyList<GoogleUserPart>)”
public GoogleUserTurn(IReadOnlyList<GoogleUserPart> parts)

Creates a user turn.

Parameters

Name Type Description
parts IReadOnlyList<GoogleUserPart>

View source

public IReadOnlyList<GoogleUserPart> Parts { get; }

User parts.

Value: IReadOnlyList<GoogleUserPart>

View source

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