GoogleInteractionsInput
Namespace: Vercel.AI.Google
public static class GoogleInteractionsInputConverts a prompt into an Interactions input array.
Inheritance: object
Methods
Section titled “Methods”Convert(IReadOnlyList<ModelMessage>)
Section titled “Convert(IReadOnlyList<ModelMessage>)”public static JsonObject Convert(IReadOnlyList<ModelMessage> prompt)Converts shared messages. System text is joined into systemInstruction.
Parameters
| Name | Type | Description |
|---|---|---|
prompt |
IReadOnlyList<ModelMessage> |
Returns: JsonObject
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product