Skip to content

GoogleInteractionsOutput

Namespace: Vercel.AI.Google

public static class GoogleInteractionsOutput

Reads text and function calls from an Interactions response.

Inheritance: object

View source

public static (IReadOnlyList<GeneratedContent> Content, bool HasFunctionCall) Parse(JsonObject response)

Parses steps into generated content and reports whether a client function call is present.

Parameters

Name Type Description
response JsonObject

Returns: (IReadOnlyList<GeneratedContent> Content, bool HasFunctionCall)

View source

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