Class ChatConnector

java.lang.Object
com.storedobject.ai.ChatConnector
All Implemented Interfaces:
JSONService

public class ChatConnector extends Object implements JSONService
ChatConnector is a service responsible for managing chat-related actions, including creating and interacting with chats, listing available topics, and managing chat lifecycle operations. This class implements the JSONService interface and processes specific commands sent through JSON input to perform its functions so that it can be invoked via SO Connector API.
The supported actions include:
 - action = "close" - Closing an active chat session.
 - action = "listTopics" - Listing available chat topics.
 - action = "chat" - Starting a new chat session or interacting with an ongoing one.
 
The class supports customization of chat behavior by allowing subclasses to override specific methods for creating, customizing, or handling knowledge instances.
Author:
Syam