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

# Train with Q&A

> Add question-answer pairs for precise, high-priority responses

Add specific question-answer pairs to train your AI agent with precise responses. Q\&A pairs rank highest in retrieval, making them the most reliable way to ensure accurate answers.

<Info>
  Q\&A pairs are prioritized over other knowledge sources. Use them for your most important or frequently asked questions.
</Info>

## How It Works

1. Navigate to **AI Agent** → **Train** → **Q\&A**
2. Click **Add Q\&A**
3. Enter the question as customers would ask it
4. Provide the exact answer you want the AI to give
5. Click **Save**

## When to Use Q\&A

<CardGroup cols={2}>
  <Card title="Critical Information" icon="circle-exclamation">
    Pricing, refund policies, or legal disclaimers that must be exact.
  </Card>

  <Card title="Common Questions" icon="arrow-trend-up">
    Questions you receive repeatedly that need consistent answers.
  </Card>

  <Card title="Corrections" icon="pen">
    Override incorrect responses the AI has given in the past.
  </Card>

  <Card title="Quick Wins" icon="bolt">
    Add answers immediately without uploading files or writing long content.
  </Card>
</CardGroup>

## Writing Effective Q\&A Pairs

<AccordionGroup>
  <Accordion title="Phrase questions naturally">
    Write questions the way customers actually ask them. Include common variations if needed.
  </Accordion>

  <Accordion title="Keep answers concise">
    Provide clear, direct answers. The AI can elaborate, but the core answer should be precise.
  </Accordion>

  <Accordion title="Be specific">
    "What are your business hours?" is better than "Hours?" — specificity improves retrieval accuracy.
  </Accordion>

  <Accordion title="Add multiple variations">
    For important questions, create separate Q\&A entries with different phrasings (e.g., "How do I get a refund?" and "What's your return policy?").
  </Accordion>
</AccordionGroup>

## Example

<Tabs>
  <Tab title="Good Example">
    **Question:** What is your return policy?

    **Answer:** We offer a 30-day return policy for all unused items in original packaging. To start a return, email [returns@example.com](mailto:returns@example.com) with your order number.
  </Tab>

  <Tab title="Weak Example">
    **Question:** Returns?

    **Answer:** Check the website.
  </Tab>
</Tabs>

<Tip>
  Start by adding Q\&A pairs for the top 10 questions your support team receives. This immediately improves your AI agent's accuracy.
</Tip>
