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

# Document Search

> Upload documents and ask questions with cited answers

Upload legal documents and ask questions in plain language. Answers include source citations with exact page references. For autonomous multi-step research across documents, web, and legal databases, try [Agent Mode](/docs/guides/agent-mode).

<Frame caption="A cited answer with the right-hand sources panel and source controls (Web Search, Matter Documents, US Case Law, Deep Web Research)">
  <img src="https://mintcdn.com/vaquill/NNZLwmIqu4MrnJz-/images/research-1.png?fit=max&auto=format&n=NNZLwmIqu4MrnJz-&q=85&s=061817a0734afc169d873cab1b5b25ed" alt="AI legal research chat showing a cited answer next to a sources panel with Statutes, Web, and Keywords tabs" style={{ borderRadius: '0.5rem' }} width="2970" height="1642" data-path="images/research-1.png" />
</Frame>

## Supported Formats

<CardGroup cols={3}>
  <Card title="Documents" icon="file-lines">
    PDF, DOCX, DOC, TXT, RTF, ODT
  </Card>

  <Card title="Spreadsheets" icon="table">
    XLSX, XLS, CSV
  </Card>

  <Card title="Presentations" icon="file-powerpoint">
    PPTX, PPT
  </Card>

  <Card title="Images (OCR)" icon="image">
    PNG, JPG, TIFF processed with OCR automatically
  </Card>

  <Card title="Email" icon="envelope">
    EML, MSG with attachments
  </Card>

  <Card title="Archives" icon="file-zipper">
    ZIP files unpacked and indexed
  </Card>
</CardGroup>

<Tip>
  Scanned PDFs are detected automatically and routed through OCR. Quality varies with scan resolution - flag low-confidence pages with [Answer Verification](/docs/guides/answer-verification) before relying on them in a filing.
</Tip>

## How to Use

<Steps>
  <Step title="Start a conversation">
    Open a new conversation from your [dashboard](https://app.vaquill.ai), or work within an existing Matter.
  </Step>

  <Step title="Upload documents">
    Drag and drop one or more files into the conversation.
  </Step>

  <Step title="Ask questions">
    Examples:

    * *"What is the termination clause in this agreement?"*
    * *"Does this contract have a non-compete provision?"*
    * *"Summarize the key obligations of the licensee"*
  </Step>

  <Step title="Review answers">
    Each answer includes source citations pointing to the exact section of your document.
  </Step>
</Steps>

## Answer Verification

Every answer is verified against your source documents and external sources. Each claim gets a confidence score.

<Frame caption="The exact source text behind an answer, with the supporting citations listed">
  <img src="https://mintcdn.com/vaquill/NNZLwmIqu4MrnJz-/images/research-2.png?fit=max&auto=format&n=NNZLwmIqu4MrnJz-&q=85&s=eb70d9dddb68bfc5895e434434184cde" alt="A cited US statute section expanded to show the exact text, with the list of citations that support the answer" style={{ borderRadius: '0.5rem' }} width="2672" height="1534" data-path="images/research-2.png" />
</Frame>

## Follow-up Questions

Ask follow-up questions without re-uploading. Context is preserved across the conversation:

> **You:** What are the payment terms in this contract?
>
> **Vaquill:** Net-30 payment terms with a 2% late fee...
>
> **You:** Are there any exceptions to that?
>
> **Vaquill:** Yes, Section 4.3 provides an exception for force majeure events...

## Google Drive Import

Import documents directly from Google Drive. Connect your Google account from dashboard settings. See [Google Drive Import](/docs/guides/google-drive-import) for the full OAuth flow and sync options.

## Ready-to-run prompts

<Prompt description="**Contract Q&A** - ask any question about an uploaded agreement and get sourced answers with page citations." icon="file-contract" iconType="solid" actions={["copy"]}>
  I have uploaded a services agreement. Answer these questions, citing the exact section and page for every claim:

  1. What is the term and how does termination work? Highlight termination-for-convenience vs termination-for-cause.
  2. What are the payment terms? Net days, late fees, currency, taxes.
  3. List every clause that limits or caps liability, and quote the cap amount.
  4. Is there an indemnity? Who indemnifies whom, for what, and with what carve-outs?
  5. What is the governing law and venue?

  End with a one-paragraph practitioner summary: would you flag any of these terms as off-market for a US commercial services deal?
</Prompt>

## Related

<CardGroup cols={2}>
  <Card title="Case Law Research" icon="scale-balanced" href="/docs/guides/case-law-research">
    Search US federal and state court cases by keyword or citation.
  </Card>

  <Card title="Agent Mode" icon="robot" href="/docs/guides/agent-mode">
    Autonomous multi-step research across documents and the web.
  </Card>

  <Card title="Document Analyst" icon="file-magnifying-glass" href="/docs/guides/tools/document-analyst">
    Deeper structured document Q\&A with extraction templates.
  </Card>

  <Card title="File formats" icon="file" href="/docs/guides/file-formats">
    Full list of supported formats and OCR behavior.
  </Card>
</CardGroup>
