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

# Agent Knowledge & Training

> Train your AI on documents, website crawls, custom procedures, and safety guardrails.

Leadblanc uses semantic vector embeddings and hybrid search to retrieve precise business knowledge before synthesizing any reply.

## Data Sources

Under **Build > Data Sources**, you can connect:

* **Web Crawling**: Enter your homepage or sitemap. Our crawler traverses internal links, extracts clean markdown, and indexes your pages.
* **Documents & PDFs**: Upload product manuals, return policy documents, pricing sheets, and technical guides (`.pdf`, `.docx`, `.txt`, `.csv`).
* **Custom Q\&A Pairs**: Direct question-and-answer pairs for high-priority business facts where exact phrasing is essential.

***

## Instructions & System Prompt

In **Build > Instructions**, define your agent's core operating principles:

```markdown theme={null}
You are the Leadblanc Commerce Assistant for Acme Corp.
- Speak in a warm, polite, and consultative tone.
- When recommending products, highlight at least one key feature and offer direct links.
- If an item is out of stock, offer our pre-order waitlist rather than turning the customer away.
- Always quote prices in the customer's local currency.
```

***

## Safety Guardrails

Protect your brand from jailbreaks, competitor mentions, and out-of-scope advice under **Build > Guardrails**:

1. **Competitor Deflection**: Prevent comparing or promoting rival brands.
2. **Discount Control**: Enforce hard limits so the agent never promises unauthorized coupon codes or custom discounts.
3. **Sensitive Data Masking**: Automatically mask credit card numbers, passwords, and personal identification numbers in chat history.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.