public class ConversationMessage extends Object
| Constructor and Description |
|---|
ConversationMessage() |
| Modifier and Type | Method and Description |
|---|---|
static ConversationMessage |
buildInputMessageWithHistory(String requestId,
String model,
String utterance,
List<ChatMessage> history,
Integer nHistory,
com.google.gson.JsonObject parameters,
boolean streaming,
boolean enableDebug) |
static ConversationMessage |
buildInputMessageWithPrompt(String requestId,
String model,
String utterance,
boolean streaming) |
static ConversationMessage |
buildMultiModalInputMessageWithHistory(String requestId,
String model,
String utterance,
List<ChatMessage> history,
int nHistory,
com.google.gson.JsonObject parameters,
boolean streaming,
boolean enableDebug) |
public static ConversationMessage buildInputMessageWithPrompt(String requestId, String model, String utterance, boolean streaming)
public static ConversationMessage buildInputMessageWithHistory(String requestId, String model, String utterance, List<ChatMessage> history, Integer nHistory, com.google.gson.JsonObject parameters, boolean streaming, boolean enableDebug)
public static ConversationMessage buildMultiModalInputMessageWithHistory(String requestId, String model, String utterance, List<ChatMessage> history, int nHistory, com.google.gson.JsonObject parameters, boolean streaming, boolean enableDebug)
Copyright © 2023. All rights reserved.