# Knowledge Base

The **Knowledge Base** is where Zipchat AI gets the information it uses to answer customer questions. It starts by automatically crawling your website to gather key details like product descriptions, FAQs, and other content. You’ll see all your website URLs already listed in this section. But you can do so much more to make the AI smarter and more effective.

<figure><img src="/files/zdxl8lrBMnKX1mKbufxv" alt=""><figcaption></figcaption></figure>

***

### How to Expand and Update Your Knowledge Base

1. **Automatic Crawling**
   * Zipchat scans all your site pages and adds them to the Knowledge Base.
   * It pulls details like product info and policies directly from your site, ensuring the chatbot stays up to date.
2. **Add Extra Information**\
   Boost the AI’s ability to handle complex questions by manually adding these formats:
   * **Single Page**: Paste a URL for an updated page, subdomain, or external site. The AI will crawl it immediately.
   * **Multiple Pages**: Provide the main URL, and Zipchat will scan all linked pages. Perfect for capturing related content in one go.
   * **PDF Uploads**: Upload guides, charts, or manuals to give the AI detailed, searchable information. Example: A sizing guide or warranty details.
   * **Blank Text**: Add specific content directly into the Knowledge Base. Only the text is indexed, so make it concise and relevant.
   * **CSV with Links**: Can’t crawl certain pages? Upload a list of URLs in CSV format to include them manually.
   * **Sitemap (XML)**: Upload your XML sitemap for efficient and comprehensive crawling of your entire site structure.

***

### Why It Matters

* **Enhanced Accuracy**: By adding and updating content, the chatbot provides precise answers to even the most detailed customer inquiries.
* **Better Engagement**: A well-rounded Knowledge Base helps your chatbot engage visitors with confidence, whether it’s recommending a product or answering a tricky question.
* **Always Up-to-Date**: Regular updates ensure the AI reflects your latest offerings, promotions, or policy changes.

***

### How to Make the Most of It

1. **Add Specific Pages**\
   Include newly updated product pages, promotional pages, or subdomains not automatically captured.
2. **Upload Supporting Documents**\
   PDFs like product manuals, comparison charts, or step-by-step guides help the AI handle specific or technical questions.
3. **Use Blank Text for FAQs**\
   Quickly add answers to new FAQs or specific instructions for seasonal campaigns.
4. **Regularly Update**\
   Keep your knowledge base fresh by revisiting it after website changes or new launches.

***

### Deliver Smarter, Faster Support

A robust Knowledge Base transforms Zipchat AI into a highly effective assistant that not only answers questions but also resolves issues with precision. By combining automatic website crawling with custom additions like PDFs and URLs, you can ensure your chatbot is equipped to provide an exceptional customer experience—every time. 🚀


---

# 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.zipchat.ai/installation-and-setup/ai-training/knowledge-base.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.
