Class AiChatEmptyService

java.lang.Object
io.jmix.aitoolsflowui.service.impl.AiChatEmptyService
All Implemented Interfaces:
AiChatService

public class AiChatEmptyService extends Object implements AiChatService
No-op implementation.
  • Constructor Details

    • AiChatEmptyService

      public AiChatEmptyService()
  • Method Details

    • processMessage

      public String processMessage(AiChatMessage message)
      Description copied from interface: AiChatService
      Generates the assistant's reply to the given user message.
      Specified by:
      processMessage in interface AiChatService
      Parameters:
      message - the user message to answer
      Returns:
      the assistant's reply text, or an empty string if no reply was produced
    • processMessage

      public String processMessage(AiChatMessage message, Consumer<AiToolStatusUpdate> statusCallback)
      Description copied from interface: AiChatService
      Generates the assistant's reply to the given user message, reporting progress while the reply is being prepared.
      Specified by:
      processMessage in interface AiChatService
      Parameters:
      message - the user message to answer
      statusCallback - receives progress updates during processing
      Returns:
      the assistant's reply text, or an empty string if no reply was produced
    • isAvailable

      public boolean isAvailable()
      Description copied from interface: AiChatService
      Returns whether AI chat is currently available, i.e. replies can be generated.
      Specified by:
      isAvailable in interface AiChatService
      Returns:
      true if chat is configured and ready to use