| Package | Description |
|---|---|
| org.noear.solon.ai.chat | |
| org.noear.solon.ai.chat.dialect | |
| org.noear.solon.ai.chat.message |
| Modifier and Type | Method and Description |
|---|---|
AssistantMessage |
ChatResponse.getAggregationMessage()
获取聚合消息(流响应完成时可用)
|
AssistantMessage |
ChatResponseDefault.getAggregationMessage()
获取聚合消息
|
AssistantMessage |
ChatResponse.getMessage()
获取消息
|
AssistantMessage |
ChatResponseDefault.getMessage()
获取消息
|
AssistantMessage |
ChatChoice.getMessage()
消息
|
| Constructor and Description |
|---|
ChatChoice(int index,
Date created,
String finishReason,
AssistantMessage message) |
| Modifier and Type | Method and Description |
|---|---|
List<AssistantMessage> |
ChatDialect.parseAssistantMessage(ChatResponseDefault resp,
org.noear.snack.ONode oMessage)
分析工具调用
|
List<AssistantMessage> |
AbstractChatDialect.parseAssistantMessage(ChatResponseDefault resp,
org.noear.snack.ONode oMessage) |
List<AssistantMessage> |
DashscopeChatDialect.parseAssistantMessage(ChatResponseDefault resp,
org.noear.snack.ONode oMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractChatDialect.buildChatMessageNodeDo(org.noear.snack.ONode oNode,
AssistantMessage msg) |
| Modifier and Type | Method and Description |
|---|---|
static AssistantMessage |
ChatMessage.ofAssistant(String content) |
Copyright © 2025. All rights reserved.