public interface ChatAction extends Action<List<ChatMessage>,ChatOption,List<ChatMessage>>
| 修飾子とタイプ | メソッドと説明 |
|---|---|
List<ChatMessage> |
execute(List<ChatMessage> messages)
オプションを指定せずにチャットを実行します。
|
List<ChatMessage> |
execute(List<ChatMessage> messages,
ChatOption option)
オプションを指定してチャットを実行します。
|
void |
execute(List<ChatMessage> messages,
ChatOption option,
ChatActionChunkHandler handler)
チャットを実行し、応答をストリーミングで取得します。
|
List<ChatMessage> |
execute(List<ChatMessage> messages,
ChatOption option,
ToolConfig toolConfig)
オプションとツール設定を指定してチャットを実行します。
|
void |
execute(List<ChatMessage> messages,
ChatOption option,
ToolConfig toolConfig,
ChatActionChunkHandler handler)
オプションとツール設定を指定してチャットを実行し、応答をストリーミングで取得します。
|
default ActionType |
getActionType()
このアクションの種別を返します。
|
getDriverType, setDriverInfoList<ChatMessage> execute(List<ChatMessage> messages) throws CopilotServiceActionException
execute インタフェース内 Action<List<ChatMessage>,ChatOption,List<ChatMessage>>messages - チャットメッセージの配列CopilotServiceActionException - 処理に失敗した時List<ChatMessage> execute(List<ChatMessage> messages, ChatOption option) throws CopilotServiceActionException
execute インタフェース内 Action<List<ChatMessage>,ChatOption,List<ChatMessage>>messages - チャットメッセージの配列option - オプションCopilotServiceActionException - 処理に失敗した時void execute(List<ChatMessage> messages, ChatOption option, ChatActionChunkHandler handler) throws CopilotServiceActionException
messages - チャットメッセージの配列option - オプションhandler - 応答のチャンクデータを受け付けるハンドラCopilotServiceActionException - 処理に失敗した時List<ChatMessage> execute(List<ChatMessage> messages, ChatOption option, ToolConfig toolConfig) throws CopilotServiceActionException
messages - チャットメッセージの配列option - オプションtoolConfig - ツール設定CopilotServiceActionException - 処理に失敗した時void execute(List<ChatMessage> messages, ChatOption option, ToolConfig toolConfig, ChatActionChunkHandler handler) throws CopilotServiceActionException
messages - チャットメッセージの配列option - オプションtoolConfig - ツール設定handler - 応答のチャンクデータを受け付けるハンドラCopilotServiceActionException - 処理に失敗した時default ActionType getActionType()
ActiongetActionType インタフェース内 Action<List<ChatMessage>,ChatOption,List<ChatMessage>>Copyright © 2012 NTT DATA INTRAMART CORPORATION