Index

A B C E G I J M N P R S T U 
All Classes and Interfaces|All Packages|Serialized Form

A

addToHistory(String, JsonObject) - Method in interface com.techcognita.javachatx.context.ContextManager
Add a message to the conversation history.
addToHistory(String, JsonObject) - Method in class com.techcognita.javachatx.context.SimpleContextManager
 
Agent - Interface in com.techcognita.javachatx.agent
Base interface for all AI agents in the JavaChatX framework.
AgentFactory - Class in com.techcognita.javachatx.agent
Factory for creating different types of agents.
AgentFactory() - Constructor for class com.techcognita.javachatx.agent.AgentFactory
 
ApiConnector - Interface in com.techcognita.javachatx.api
Interface for connecting to external AI services and APIs.
ApiException - Exception in com.techcognita.javachatx.api
Exception thrown when there are issues with API communication.
ApiException(String) - Constructor for exception com.techcognita.javachatx.api.ApiException
 
ApiException(String, Throwable) - Constructor for exception com.techcognita.javachatx.api.ApiException
 

B

BaseAgent - Class in com.techcognita.javachatx.agent
Base implementation of the Agent interface.
BaseAgent(String, String) - Constructor for class com.techcognita.javachatx.agent.BaseAgent
 
BaseApiConnector - Class in com.techcognita.javachatx.api
Base implementation of the ApiConnector interface.
BaseApiConnector(String) - Constructor for class com.techcognita.javachatx.api.BaseApiConnector
 
BasePlugin - Class in com.techcognita.javachatx.plugin
Base implementation of the Plugin interface.
BasePlugin(String, String) - Constructor for class com.techcognita.javachatx.plugin.BasePlugin
 

C

ChatEngine - Interface in com.techcognita.javachatx.chat
Core chat engine for handling message processing in JavaChatX.
clearContext(String) - Method in interface com.techcognita.javachatx.context.ContextManager
Clear context data for a session.
clearContext(String) - Method in class com.techcognita.javachatx.context.SimpleContextManager
 
com.techcognita.javachatx - package com.techcognita.javachatx
 
com.techcognita.javachatx.agent - package com.techcognita.javachatx.agent
 
com.techcognita.javachatx.api - package com.techcognita.javachatx.api
 
com.techcognita.javachatx.chat - package com.techcognita.javachatx.chat
 
com.techcognita.javachatx.context - package com.techcognita.javachatx.context
 
com.techcognita.javachatx.plugin - package com.techcognita.javachatx.plugin
 
configuration - Variable in class com.techcognita.javachatx.agent.BaseAgent
 
configuration - Variable in class com.techcognita.javachatx.api.BaseApiConnector
 
configuration - Variable in class com.techcognita.javachatx.plugin.BasePlugin
 
configure(JsonObject) - Method in interface com.techcognita.javachatx.agent.Agent
Configure the agent with specific settings.
configure(JsonObject) - Method in class com.techcognita.javachatx.agent.BaseAgent
 
configure(JsonObject) - Method in interface com.techcognita.javachatx.api.ApiConnector
Configure the API connector with necessary credentials and settings.
configure(JsonObject) - Method in class com.techcognita.javachatx.api.BaseApiConnector
 
configure(JsonObject) - Method in class com.techcognita.javachatx.api.EchoApiConnector
 
configure(JsonObject) - Method in class com.techcognita.javachatx.plugin.BasePlugin
 
configure(JsonObject) - Method in class com.techcognita.javachatx.plugin.EchoPlugin
 
configure(JsonObject) - Method in interface com.techcognita.javachatx.plugin.Plugin
Configure the plugin with specific settings.
ContextManager - Interface in com.techcognita.javachatx.context
Manages conversation context and state for AI agents.
createEchoAgent() - Static method in class com.techcognita.javachatx.agent.AgentFactory
Create a new EchoAgent with a unique ID.
createEchoAgent(String) - Static method in class com.techcognita.javachatx.agent.AgentFactory
Create a new EchoAgent with a specified ID.

E

EchoAgent - Class in com.techcognita.javachatx.agent
A simple echo agent that repeats back any input it receives.
EchoAgent(String) - Constructor for class com.techcognita.javachatx.agent.EchoAgent
 
EchoApiConnector - Class in com.techcognita.javachatx.api
A simple echo API connector for demonstration purposes.
EchoApiConnector() - Constructor for class com.techcognita.javachatx.api.EchoApiConnector
 
EchoPlugin - Class in com.techcognita.javachatx.plugin
A simple echo plugin for demonstration purposes.
EchoPlugin(String) - Constructor for class com.techcognita.javachatx.plugin.EchoPlugin
 
execute(JsonObject) - Method in class com.techcognita.javachatx.plugin.EchoPlugin
 
execute(JsonObject) - Method in interface com.techcognita.javachatx.plugin.Plugin
Execute the plugin's functionality with the provided input.
executePlugin(String, JsonObject) - Method in class com.techcognita.javachatx.plugin.PluginManager
Execute a plugin by its ID with the provided input.

G

getChatEngine() - Method in class com.techcognita.javachatx.JavaChatX
Get the chat engine component.
getContext(String, String) - Method in interface com.techcognita.javachatx.context.ContextManager
Retrieve context data for a session.
getContext(String, String) - Method in class com.techcognita.javachatx.context.SimpleContextManager
 
getContextManager() - Method in class com.techcognita.javachatx.JavaChatX
Get the context manager component.
getHistory(String) - Method in interface com.techcognita.javachatx.context.ContextManager
Get the conversation history for a session.
getHistory(String) - Method in class com.techcognita.javachatx.context.SimpleContextManager
 
getId() - Method in interface com.techcognita.javachatx.agent.Agent
Get the unique identifier for this agent.
getId() - Method in class com.techcognita.javachatx.agent.BaseAgent
 
getId() - Method in class com.techcognita.javachatx.plugin.BasePlugin
 
getId() - Method in interface com.techcognita.javachatx.plugin.Plugin
Get the unique identifier for this plugin.
getName() - Method in interface com.techcognita.javachatx.agent.Agent
Get the name of this agent.
getName() - Method in class com.techcognita.javachatx.agent.BaseAgent
 
getName() - Method in interface com.techcognita.javachatx.api.ApiConnector
Get the name of this API connector.
getName() - Method in class com.techcognita.javachatx.api.BaseApiConnector
 
getName() - Method in class com.techcognita.javachatx.plugin.BasePlugin
 
getName() - Method in interface com.techcognita.javachatx.plugin.Plugin
Get the name of this plugin.
getPlugin(String) - Method in class com.techcognita.javachatx.plugin.PluginManager
Get a registered plugin by its ID.
getPluginCount() - Method in class com.techcognita.javachatx.plugin.PluginManager
Get the number of registered plugins.
getPluginManager() - Method in class com.techcognita.javachatx.JavaChatX
Get the plugin manager component.
getSessionContext(String) - Method in interface com.techcognita.javachatx.context.ContextManager
Get all context data for a session as a JSON object.
getSessionContext(String) - Method in class com.techcognita.javachatx.context.SimpleContextManager
 

I

id - Variable in class com.techcognita.javachatx.agent.BaseAgent
 
id - Variable in class com.techcognita.javachatx.plugin.BasePlugin
 
initialize() - Method in class com.techcognita.javachatx.JavaChatX
Initialize the JavaChatX framework with default components.
isInitialized() - Method in class com.techcognita.javachatx.JavaChatX
Check if the framework is initialized.
isReady() - Method in interface com.techcognita.javachatx.api.ApiConnector
Check if the connector is properly configured and ready to use.
isReady() - Method in class com.techcognita.javachatx.api.BaseApiConnector
 
isReady() - Method in class com.techcognita.javachatx.plugin.BasePlugin
 
isReady() - Method in interface com.techcognita.javachatx.plugin.Plugin
Check if the plugin is properly configured and ready to use.

J

JavaChatX - Class in com.techcognita.javachatx
Main coordinator class for the JavaChatX framework.
JavaChatX() - Constructor for class com.techcognita.javachatx.JavaChatX
 
JavaChatXApplication - Class in com.techcognita.javachatx
Main entry point for the JavaChatX framework.
JavaChatXApplication() - Constructor for class com.techcognita.javachatx.JavaChatXApplication
 

M

main(String[]) - Static method in class com.techcognita.javachatx.JavaChatXApplication
 

N

name - Variable in class com.techcognita.javachatx.agent.BaseAgent
 
name - Variable in class com.techcognita.javachatx.api.BaseApiConnector
 
name - Variable in class com.techcognita.javachatx.plugin.BasePlugin
 

P

Plugin - Interface in com.techcognita.javachatx.plugin
Interface for plugins that extend the functionality of JavaChatX.
PluginException - Exception in com.techcognita.javachatx.plugin
Exception thrown when there are issues with plugin execution.
PluginException(String) - Constructor for exception com.techcognita.javachatx.plugin.PluginException
 
PluginException(String, Throwable) - Constructor for exception com.techcognita.javachatx.plugin.PluginException
 
PluginManager - Class in com.techcognita.javachatx.plugin
Manages plugins in the JavaChatX framework.
PluginManager() - Constructor for class com.techcognita.javachatx.plugin.PluginManager
 
process(JsonObject) - Method in interface com.techcognita.javachatx.agent.Agent
Process a task or message directed at this agent.
process(JsonObject) - Method in class com.techcognita.javachatx.agent.EchoAgent
 
processMessage(JsonObject) - Method in interface com.techcognita.javachatx.chat.ChatEngine
Process an incoming message and generate a response.
processMessage(JsonObject) - Method in class com.techcognita.javachatx.chat.SimpleChatEngine
 
processMessage(JsonObject) - Method in class com.techcognita.javachatx.JavaChatX
Process a message through the framework.

R

ready - Variable in class com.techcognita.javachatx.api.BaseApiConnector
 
ready - Variable in class com.techcognita.javachatx.plugin.BasePlugin
 
registerPlugin(Plugin) - Method in class com.techcognita.javachatx.plugin.PluginManager
Register a new plugin with the manager.
registerSession(String) - Method in interface com.techcognita.javachatx.chat.ChatEngine
Register a new conversation session.
registerSession(String) - Method in class com.techcognita.javachatx.chat.SimpleChatEngine
 

S

sendRequest(JsonObject) - Method in interface com.techcognita.javachatx.api.ApiConnector
Send a request to the external API and get a response.
sendRequest(JsonObject) - Method in class com.techcognita.javachatx.api.EchoApiConnector
 
setContext(String, String, Object) - Method in interface com.techcognita.javachatx.context.ContextManager
Store context data for a session.
setContext(String, String, Object) - Method in class com.techcognita.javachatx.context.SimpleContextManager
 
SimpleChatEngine - Class in com.techcognita.javachatx.chat
Simple implementation of the ChatEngine interface.
SimpleChatEngine() - Constructor for class com.techcognita.javachatx.chat.SimpleChatEngine
 
SimpleContextManager - Class in com.techcognita.javachatx.context
Simple implementation of the ContextManager interface.
SimpleContextManager() - Constructor for class com.techcognita.javachatx.context.SimpleContextManager
 

T

terminateSession(String) - Method in interface com.techcognita.javachatx.chat.ChatEngine
Terminate a conversation session.
terminateSession(String) - Method in class com.techcognita.javachatx.chat.SimpleChatEngine
 
toString() - Method in class com.techcognita.javachatx.agent.BaseAgent
 
toString() - Method in class com.techcognita.javachatx.api.BaseApiConnector
 
toString() - Method in class com.techcognita.javachatx.plugin.BasePlugin
 

U

unregisterPlugin(String) - Method in class com.techcognita.javachatx.plugin.PluginManager
Unregister a plugin from the manager.
A B C E G I J M N P R S T U 
All Classes and Interfaces|All Packages|Serialized Form