Class SpringOpenAIProcessor

java.lang.Object
com.t4a.processor.OpenAiActionProcessor
com.t4a.processor.spring.SpringOpenAIProcessor
All Implemented Interfaces:
AIProcessor

public class SpringOpenAIProcessor extends OpenAiActionProcessor
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 Details

    • SpringOpenAIProcessor

      public SpringOpenAIProcessor(org.springframework.context.ApplicationContext context)