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

# Texts

> Write or paste text content directly into your chatbot's knowledge base.

Text entries let you add content to your knowledge base without uploading a file or connecting an external service. Use the built-in rich text editor to write or paste content.

## Adding a Text Source

<Steps>
  <Step title="Open Knowledge Base tab">
    Go to your chatbot → **Knowledge Base** tab.
  </Step>

  <Step title="Click Add Source → Text">
    A dialog opens with a title field and a rich text editor.
  </Step>

  <Step title="Enter a title">
    Give your text a descriptive title (e.g. "Return Policy", "Company Overview", "FAQ").
  </Step>

  <Step title="Write or paste content">
    Use the markdown editor to enter your content. You can paste from other sources — formatting will be preserved where possible.
  </Step>

  <Step title="Save">
    Click **Save**. The text is stored as a .txt file, chunked, and embedded instantly.
  </Step>
</Steps>

## Editing Text Sources

Unlike documents (which require re-upload), text sources can be **edited in place**. Click on any text source in the Knowledge Base list and modify the content. After saving, the text is re-chunked and re-embedded automatically.

## When to Use Texts

| Use Case                 | Why Texts Work Well                                      |
| ------------------------ | -------------------------------------------------------- |
| **FAQs**                 | Quick to write and update without creating a file        |
| **Company info**         | About page content, contact info, business hours         |
| **Policies**             | Return policy, shipping info, terms summary              |
| **Product descriptions** | Short product overviews                                  |
| **Announcements**        | Temporary content like promotions or maintenance notices |

<Tip>
  Use texts for content that changes frequently. It's faster to edit text inline than to re-upload a document.
</Tip>

## Routing Instructions

Each text source supports optional routing instructions. This is useful when you have multiple text entries covering different topics.

**Example:**

> "This source covers our return and refund policy. Always mention the 30-day return window when answering from this source."
