> ## Documentation Index
> Fetch the complete documentation index at: https://lexi-doc.devoscape.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add & train knowledge.

## Adding Knowledge

You can add your custom knowledge to the chatbot for more personalized and accurate resolutions.

* On your LEXI Home screen, Navigate to **Sources** under the **Knowledge Base** section.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Home.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=20c981b8ecaf31fdb16c18d99616c729" width="1440" height="900" data-path="images/Home.jpg" />
</Frame>

* You can add your knowledge files by clicking the **Add a new knowledge**.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Knowladge_Empty.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=ddace81e16e0328039057559eb42b61f" width="2880" height="1800" data-path="images/Knowladge_Empty.jpg" />
</Frame>

* Choose your Knowledge source type from the dropdown list. You can choose from the following options:

  * **Website**: You can share the link to your website or guide page. LEXI AI will extract the information from the web link provided and train the chatbot for future use..
  * **Document**: You can upload documents in any format. LEXI AI will extract text from them and add them to its knowledge base..

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Knowledge%20add.jpeg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=d8f53d2f6bb48f4bdb6c4fc54831dfbb" width="2880" height="1800" data-path="images/Knowledge add.jpeg" />
</Frame>

* Add the knowledge; here, we are choosing PDF files as the knowledge type.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Knowladge_Table.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=c825329de65158b50bf30de88741ef7d" width="2880" height="1800" data-path="images/Knowladge_Table.jpg" />
</Frame>

* Once you have added the document or website , go to the left side of the screen and train the AI Model.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Knowladge_Information.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=ca72d461b1b9c1b2ecba4517b263b547" width="2880" height="1800" data-path="images/Knowladge_Information.jpg" />
</Frame>

* Click on the **Train** button to train the AI model with the new knowledge. This will take a few minutes, depending on the size of the document or website.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Screenshot%202025-04-22%20at%2015.05.19.png?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=a690369ed46015c9294e04b9bab976a9" width="1183" height="387" data-path="images/Screenshot 2025-04-22 at 15.05.19.png" />
</Frame>

## Adding FAQs

People usually come up with frequently asked questions, so why not add FAQs directly on your chatbot beforehand?

<Note>An FAQ is a special kind of knowledge.
It is a collection of questions and answers and it is the most "direct" form of knowledge that you can provide to the AI. When an FAQ is find as a potential answer to a user's question, this knowledge is prioritized over other sources.</Note>

Let's see how you can add FAQs to your chatbot:

* On your LEXI Home screen, Navigate to  **FAQs** under the **Knowledge Base** section.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/Knowladge_empt.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=40a3eef41b85b0aa39083b1577b1400b" width="2880" height="1800" data-path="images/Knowladge_empt.jpg" />
</Frame>

* Click on Create a new FAQ

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/FAQs_Empty.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=796d53bed59c2345604aa19d26955b0f" width="2880" height="1800" data-path="images/FAQs_Empty.jpg" />
</Frame>

* You can create the category name based on your needs.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/FAQs_Create%20New%20Categorie.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=124b3cf0432efb4cf54df1d1c786a618" width="2880" height="1800" data-path="images/FAQs_Create New Categorie.jpg" />
</Frame>

* Example of FAQs category name:

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/FAQs_Categories_Edit.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=0281d9b7e031124c89a346a6dee43e2c" width="2880" height="1800" data-path="images/FAQs_Categories_Edit.jpg" />
</Frame>

* Once you have added all your Q\&As, training the chatbot is time.
* Return to the FAQ page and click Train AI model to train the chatbot under the Training tab.

<Frame>
  <img src="https://mintcdn.com/zara/q-doI1lrCT8VgoQ-/images/FAQs_Categories.jpg?fit=max&auto=format&n=q-doI1lrCT8VgoQ-&q=85&s=f9d9132e32e13403ea83303fe60aa48a" width="2880" height="1800" data-path="images/FAQs_Categories.jpg" />
</Frame>

<Check>That's it! You have now successfully added and trained your knowledge sources and FAQs 🥳</Check>
