Package com.t4a.processor
Interface AIProcessor
- All Known Implementing Classes:
AnthropicActionProcessor
,GeminiV2ActionProcessor
,LocalAIActionProcessor
,OpenAiActionProcessor
,SeleniumGeminiProcessor
,SeleniumOpenAIProcessor
,SpringAnthropicProcessor
,SpringGeminiProcessor
,SpringOpenAIProcessor
public interface AIProcessor
-
Method Summary
Modifier and TypeMethodDescriptionprocessSingleAction
(String promptText) processSingleAction
(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) processSingleAction
(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain, ActionCallback callback) processSingleAction
(String promptText, ActionCallback callback) processSingleAction
(String promptText, HumanInLoop humanVerification, ExplainDecision explain) default Object
processSingleAction
(String promptText, Object actionInstance) default Object
processSingleAction
(String promptText, Object actionInstance, ActionCallback callback) default Object
processSingleAction
(String promptText, Object actionInstance, String actionName) default String
default String
default void
setCallBack
(ActionCallback callback, JavaMethodAction javaMethodAction) default String
-
Method Details
-
processSingleAction
Object processSingleAction(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) throws AIProcessingException - Throws:
AIProcessingException
-
processSingleAction
Object processSingleAction(String promptText, HumanInLoop humanVerification, ExplainDecision explain) throws AIProcessingException - Throws:
AIProcessingException
-
processSingleAction
- Throws:
AIProcessingException
-
processSingleAction
- Throws:
AIProcessingException
-
query
- Throws:
AIProcessingException
-
query
- Throws:
AIProcessingException
-
query
- Throws:
AIProcessingException
-
summarize
- Throws:
AIProcessingException
-
processSingleAction
default Object processSingleAction(String promptText, Object actionInstance, String actionName) throws AIProcessingException - Throws:
AIProcessingException
-
processSingleAction
default Object processSingleAction(String promptText, Object actionInstance) throws AIProcessingException - Throws:
AIProcessingException
-
processSingleAction
default Object processSingleAction(String promptText, Object actionInstance, ActionCallback callback) throws AIProcessingException - Throws:
AIProcessingException
-
processSingleAction
Object processSingleAction(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain, ActionCallback callback) throws AIProcessingException - Throws:
AIProcessingException
-
setCallBack
-