# Working with Knowledgebots

## What is an AI Chatbot?

An AI chatbot is a program that uses artificial intelligence (AI) to conduct human-like conversations. It can answer questions, perform tasks, and provide information. These chatbots leverage natural language processing (NLP) to understand and respond to user inputs in a coherent and contextually appropriate manner. They are commonly used in customer service, virtual assistants, and various online platforms to enhance user interaction and automate routine tasks.

## How does an AI Chatbot work?

**1. Input**

The user enters a question or instruction (prompt).

**2. Processing**

* The chatbot analyzes and understands the input.
* The chatbot identifies the intent of the input.
* The chatbot extracts relevant entities from the input.

**3. Response Generation**

Based on the recognized intent and extracted entities, the chatbot generates an appropriate response or performs an action.

**4. Output**

The chatbot returns the response to the user.

## From AI Chatbot to Knowledgebot

Our Knowledge Bots are based on conventional AI chatbots. However, they can respond much more effectively through linked knowledge. By understanding context and selected information, answers become more personalized, smarter, avoid hallucinations, and are more tailored. Custom-created database sources (multimodal) and insights (knowledge extractions, notes, or messages resulting from AI processing of your company's data) can be linked to transform an AI chatbot into a Knowledge Bot.

<figure><img src="/files/ICD9B8ge7UC4G9z7ETQT" alt=""><figcaption><p>Blockbrains Ethical AI</p></figcaption></figure>

* **Integrate your own Data:** Utilize powerful Large Language Models (LLMs) linked to your specific data to receive tailored and contextual responses. In a Knowledgebot, your information can be either connected via:
  * **Database sources** (long-term memory) consisting of uploaded documents, imported websites, previously generated Bot-Insights
  * **Files** (short-term memory) ingested directly into the chatroom
  * **Email**
* **Web search:** Gain access to current information from the web to constantly expand and update your knowledge base.
* **Dynamic knowledge development:** Feed the output back into your database sources to continuously generate and integrate new knowledge.
* **Prompts:** Deploy specialized **prompts** to automate recurring tasks and efficiently design complex assignments. These prompts can be linked to various data sources to extract and process relevant information.
* **Workflows:** In a workflow designed as a sequence of prompts, each prompt performs a specific task in a predefined order, with its output serving as the input for the next prompt. This setup ensures a streamlined process where tasks are completed efficiently and dependencies are managed effectively.


---

# 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://docs.en.theblockbrain.ai/overview/working-with-knowledgebots.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.
