# 3.1.4 Customer Chat Feature

The customer chat feature we're implementing on the website is a **Chatbot**. This enables our users to have quick answers to questions they might have, and solutions to the issues they encounter. The following table contains information on the engineering requirements.

| FEATURE | SERVICE INTEGRATED           | PURPOSE OF THE SERVICE                                                                                                                     |
| ------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| CHATBOT | IBM Watson Virtual Assistant | <ul><li>It's a no-code tool that requires zero programming knowledge to use. It also integrates easily into our chosen platform.</li></ul> |

## Technical Requirements

The technical requirements of building a successful chatbot require the following components:

* **Natural Language Processing (NLP):** The chatbot must be equipped with NLP capabilities to understand the user and give appropriate responses.
* **Machine Learning (ML):** The chatbot must have ML algorithms integrated to learn from its interactions with the user over time.
* **API Integration:** The chatbot must be integrated with the website's API to retrieve user data and personalize recommendations.
* **Security:** The chatbot must be secure and protect the user's data from unauthorized access or breaches.
* **Scalability:** The chatbot should be able to handle a large number of users.

## Development Process

The development process of the chatbot follows the following:

| STEP                                               | PROCESS                                                                                                                                                                                                                                           |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ol><li>Gathering the required recourses</li></ol> | Here, the development team (consisting of the data professional and developers) will gather the resources needed to create the chatbot. This includes understanding the purpose and choosing the best customer use case.                          |
| <ol start="2"><li>Chatbot design</li></ol>         | Here, the developers will design the chatbot's interface, backend and frontend architecture (We used IBM Watson Virtual Assistant, so these were taken care of).                                                                                  |
| <ol start="3"><li>Chatbot development</li></ol>    | The data professional will develop the chatbot using the aforementioned services in the table and make it available for the developers to integrate into the website. The developers will make use of APIs, Javascript and react to integrate it. |
| <ol start="4"><li>Chatbot testing</li></ol>        | In this stage, the chatbot's functionality, performance, security, and other requirements will be put to the test and perfected.                                                                                                                  |
| <ol start="5"><li>Chatbot deployment</li></ol>     | After the successful development and testing of the chatbot, it will be deployed to the website.                                                                                                                                                  |

Access to the code files for this feature will be available on our GitHub repository.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://toyibat.gitbook.io/autocator-trd-team-amadioha/3.0-functional-requirements/3.1-primary-features-of-the-product/3.1.4-customer-chat-feature.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
