Package com.t4a.processor.spring
Class SpringOpenAIProcessor
java.lang.Object
com.t4a.processor.OpenAiActionProcessor
com.t4a.processor.spring.SpringOpenAIProcessor
- All Implemented Interfaces:
AIProcessor
This will ensure that the action classes are loaded from Spring Applicaiton Context rather than
creating the new one , the advantage of that is we can maintain spring dependency injection for all the beans
Uses OpenAI for processing
-
Constructor Summary
ConstructorsConstructorDescriptionSpringOpenAIProcessor
(org.springframework.context.ApplicationContext context) -
Method Summary
Methods inherited from class com.t4a.processor.OpenAiActionProcessor
processSingleAction, processSingleAction, processSingleAction, processSingleAction, processSingleAction, processSingleNonJava, query
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.t4a.processor.AIProcessor
query, summarize
-
Constructor Details
-
SpringOpenAIProcessor
public SpringOpenAIProcessor(org.springframework.context.ApplicationContext context)
-