public interface EmbeddingsAction extends Action<String,EmbeddingsOption,float[]>
| 修飾子とタイプ | メソッドと説明 |
|---|---|
float[] |
execute(String text)
オプションを指定せずに埋め込みを実行します。
|
float[] |
execute(String text,
EmbeddingsOption option)
オプションを指定して埋め込みを実行します。
|
default ActionType |
getActionType()
このアクションの種別を返します。
|
getDriverType, setDriverInfofloat[] execute(String text) throws CopilotServiceActionException
execute インタフェース内 Action<String,EmbeddingsOption,float[]>text - 対象となるテキストCopilotServiceActionException - 処理に失敗した時float[] execute(String text, EmbeddingsOption option) throws CopilotServiceActionException
execute インタフェース内 Action<String,EmbeddingsOption,float[]>text - 対象となるテキストoption - オプションCopilotServiceActionException - 処理に失敗した時default ActionType getActionType()
ActiongetActionType インタフェース内 Action<String,EmbeddingsOption,float[]>Copyright © 2012 NTT DATA INTRAMART CORPORATION