AI Agents

CloudContactAI Semi-Agentic Workflow Solution

CloudContactAI leverages advanced AI technologies to create intelligent agents that can respond to SMS text messages efficiently and accurately. By integrating OpenAI, DSPy, and FAISS, the solution enhances customer interactions through automated, context-aware responses.

Key Components

  1. OpenAI: Utilizes powerful language models to understand and generate human-like text. This enables the AI agents to comprehend customer inquiries and provide relevant responses.
  2. DSPy: A Python library that facilitates the deployment and management of AI models. It helps in orchestrating the interaction between OpenAI's language models and other components of the system.
  3. FAISS (Facebook AI Similarity Search): A vector database used for retrieval-augmented generation. It stores and retrieves relevant information quickly, enhancing the AI's ability to provide accurate and contextually appropriate responses.

Workflow

  1. Message Reception: When a customer sends an SMS to an inbound phone number, CloudContactAI captures the message and the entire communication stream to the AI agent.
  2. Information Retrieval: Using FAISS, the system retrieves relevant information from a pre-built knowledge base for your account. This step ensures that the AI agent has access to the most pertinent data to formulate a response.
  3. Response Generation: The AI agent powered by OpenAI, with the help of DSPy, generates a response based on the retrieved information and the initial customer query. This response is crafted to be accurate, relevant, and contextually appropriate.
  4. Message Delivery: The generated response is sent back to the customer via SMS, ensuring a seamless and efficient communication experience.

Benefits
• Enhanced Customer Experience: Customers receive quick and accurate responses to their inquiries, improving satisfaction and engagement.

• Scalability: The solution can handle a large volume of messages simultaneously, making it suitable for businesses of all sizes.

• Efficiency: Automating responses reduces the need for human intervention, allowing customer service teams to focus on more complex issues.

• Contextual Accuracy: The use of FAISS for retrieval-augmented generation ensures that responses are not only relevant but also contextually accurate, enhancing the overall quality of interactions.

By integrating OpenAI, DSPy, and FAISS, CloudContactAI provides a robust solution for automating SMS responses, making customer communication more efficient and effective



Implementation

AI Agents have their own tabs under the SMS and Email categories. Both will be empty and require the user to name a new both with a general description of how the bot will act.

The 'Create AI Agent' button will open a window requiring a name and a bot description. Any data, including links, needed for desired bot behavior will need to be inserted into this category.

Even after a bot is created, the chatbot can have its name or parameters altered, or be deleted.

When you have a personal chatbot built or you are interested in one of the more generic bots, go down to the settings tab and select the last option for general settings. The toggle for the AI chatbot functionality will be at the bottom. If you want to stop using the chatbot function, simply untoggle the box.

Toggling this option will open a dropdown with the generic bot personalities.

If you want to select any chatbots you made, select the 'Custom Agent' option. This will open a second dropdown showing any chatbots on your account. If you have no custom chatbots made, this dropdown will be replaced by a button prompting the user to build a chatbot.

After selecting your chatbot of choice, click the 'Save' button. The bot is now configured to your account and will respond to contact inquiries.