> For the complete documentation index, see [llms.txt](https://docs.greatwave.ai/great-wave-ai-harness/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greatwave.ai/great-wave-ai-harness/great-wave-ai-harness/agent-features/agent-modules/agent-modes/live-documents.md). Agents can also search and read this documentation through its [MCP server](https://docs.greatwave.ai/great-wave-ai-harness/~gitbook/mcp).

# Live Documents

Let users upload documents during a session and ask questions about their contents.

Use **Live Documents** for session-based analysis of uploaded files. It creates a temporary index for the current session.

### Set up Live Documents

1. On **Instructions**, select **Live Documents** from **Agent Mode**.
2. Choose an index type and chunk settings.
3. Add optional query guidance and success criteria.
4. Click **Refresh Agent**, then upload files in the chat.

{% hint style="info" %}
Uploaded documents and their temporary indexes are available only for the current session.
{% endhint %}

### Choose an index type

| Index type          | Use it for                                         |
| ------------------- | -------------------------------------------------- |
| **Standard**        | General document questions and semantic search.    |
| **BM25**            | Exact terms in legal or technical documents.       |
| **Structured Data** | CSV and Excel files.                               |
| **Summary**         | Extracting defined information from each document. |

### Configure retrieval

Use smaller chunks for precise facts. Use larger or semantic chunks when answers need broader context. Increase the number of chunks only when the agent misses relevant content.

### Guide the response

Use **Query Augmentation** to focus searches. Add **Success Criteria** when answers need specific evidence, dates, or quotes.

```
Extract the key obligations, deadlines, and termination clauses.
```

### Detailed configuration reference

#### What the Live Documents Agent Does <a href="#what-the-live-documents-agent-does" id="what-the-live-documents-agent-does"></a>

* **Upload documents on-demand** and create instant searchable indexes
* **Analyse documents in real-time** without waiting for index processing
* **Provide immediate answers** based on uploaded content
* **Support multiple document formats** for flexible content analysis
* **Create temporary knowledge bases** that exist for the duration of your session

#### Who This Agent Is For <a href="#who-this-agent-is-for" id="who-this-agent-is-for"></a>

* **Researchers** who need to quickly analyse new documents or papers
* **Legal professionals** reviewing case documents or contracts
* **Business analysts** examining reports, presentations, or data files
* **Students and academics** studying documents for assignments or research
* **Anyone** who needs to ask questions about documents they have right now

#### Key Capabilities <a href="#key-capabilities" id="key-capabilities"></a>

* **Real-time document processing**: Upload and analyze documents instantly
* **Flexible file support**: Works with various document formats
* **Temporary indexing**: Creates searchable indexes on-the-fly
* **Session-based knowledge**: Maintains document knowledge during your session
* **Default query support**: Set up standard questions for consistent analysis

***

### Getting Started <a href="#getting-started" id="getting-started"></a>

#### Accessing the Live Documents Agent <a href="#accessing-the-live-documents-agent" id="accessing-the-live-documents-agent"></a>

1. Navigate to your **Instructions** page (typically found in your agent configuration section)
2. Look for the **Agent Mode** dropdown menu in the top section
3. Click on the dropdown and select **"Live Documents"**
4. The page will update to show Live Documents configuration options
5. You'll see a **"Temporary Index Options"** panel appear

#### Initial Setup Requirements <a href="#initial-setup-requirements" id="initial-setup-requirements"></a>

**Before you can effectively use the Live Documents Agent:**

1. **Document files ready**: Have the documents you want to analyse prepared
2. **Supported formats**: Ensure your files are in compatible formats (PDF, DOC, TXT, etc.)
3. **Clear objectives**: Know what questions you want to ask about your documents
4. **Index configuration**: Set up how you want your documents indexed

#### File Upload Process <a href="#file-upload-process" id="file-upload-process"></a>

The Live Documents Agent works by allowing users to upload files during conversations. The agent will:

1. Accept file uploads from users
2. Process documents in real-time
3. Create temporary indexes for searching
4. Answer questions based on the uploaded content

***

### Navigation Guide <a href="#navigation-guide" id="navigation-guide"></a>

#### The Instructions Page Layout <a href="#the-instructions-page-layout" id="the-instructions-page-layout"></a>

The Live Documents Agent is configured within the broader Instructions page, which has a two-column layout:

**Left Column (Configuration)**

* **Agent Mode Selector** - Choose "Live Documents"
* **Advanced Options Panel** - Query augmentation and agent role settings
* **Temporary Index Options Panel** - Index configuration (appears when Live Documents mode is selected)
* **Actions Panel** - Reasoning and success criteria settings
* **Refresh Agent Button** - Apply your configuration changes

**Right Column (Testing)**

* **Chat Interface** - Test your agent with sample queries and file uploads
* **Response Display** - See how the agent responds to inputs
* **File Upload Area** - Where users can upload documents during conversations

#### Configuration Panel Structure <a href="#configuration-panel-structure" id="configuration-panel-structure"></a>

When Live Documents mode is selected, you'll see:

1. **Advanced Options Panel** - Query settings and agent configuration
2. **Temporary Index Options Panel** - Index type, chunk size, and summary settings
3. **Actions Panel** - Reasoning and success criteria
4. **File Upload Interface** - Appears in the chat area for document uploads

***

### Feature-by-Feature Instructions <a href="#feature-by-feature-instructions" id="feature-by-feature-instructions"></a>

#### 1. Selecting the Agent Mode <a href="#id-1-selecting-the-agent-mode" id="id-1-selecting-the-agent-mode"></a>

**What it does:** Changes your agent from other modes to Live Documents mode, enabling real-time document processing.

**Where to find it:** Top of the left column, labelled "Agent Mode:"

**How to use:**

1. Click the **Agent Mode** button (shows current mode)
2. A dropdown menu will appear
3. Scroll through options and click **"Live Documents"**
4. The page will update to show Live Documents configuration options
5. A **"Temporary Index Options"** panel will appear

**Expected result:** The interface updates to show document upload capabilities and temporary indexing options.

***

#### 2. Configuring Advanced Options <a href="#id-2-configuring-advanced-options" id="id-2-configuring-advanced-options"></a>

**What it does:** Sets up how the agent processes queries and presents information about uploaded documents.

**Where to find it:** In the "Advanced Options" panel

**Query Augmentation**

**What it does:** Adds custom instructions to guide how the agent searches through uploaded documents.

**How to use:**

1. Find the text area labelled **"Add instructions to prepend to your query..."**
2. Type instructions that will help guide the agent's document analysis
3. Examples:
   * "Focus on financial data and revenue figures"
   * "Look for technical specifications and requirements"
   * "Extract key dates and deadlines from contracts"

**Agent Role Configuration**

**What it does:** Sets a custom label for how the agent refers to the uploaded documents.

**How to use:**

1. Find the input field labelled **"Configure Agent Role"**
2. Type a descriptive name for the document source
3. Examples:
   * "Uploaded Documents"
   * "Research Papers"
   * "Contract Documents"
   * "Meeting Notes"

**Default:** "context / training data / information"

**Default Agent Query**

**What it does:** Sets up a standard question that the agent will ask about every uploaded document.

**How to use:**

1. Find the **"Default Agent Query"** toggle
2. Switch it to **"On"**
3. A text box will appear below
4. Type your default query in the text box
5. Examples:
   * "Summarize the main points of this document"
   * "What are the key findings in this report?"
   * "Extract all important dates and deadlines"

**When to use:** When you want consistent analysis across all uploaded documents.

***

#### 3. Temporary Index Options <a href="#id-3-temporary-index-options" id="id-3-temporary-index-options"></a>

**What it does:** Configures how uploaded documents are indexed and processed for searching.

**Where to find it:** Appears automatically when Live Documents mode is selected, titled "Temporary Index Options"

**Index Type Selection**

**What it does:** Chooses the indexing method for processing uploaded documents.

**Available Options:**

**Standard Index**

**What it does:** Uses vector indexing for semantic search and contextual understanding.

**When to use:**

* General document analysis
* Understanding context and meaning
* Most common document types
* Balanced performance and accuracy

**How to use:**

1. In the Index Type dropdown, select **"Standard"**
2. This is the default and recommended option for most users

**BM25 Index**

**What it does:** Uses keyword-based ranking for precise term matching.

**When to use:**

* Legal document analysis
* Technical documentation with specific terms
* When exact keyword matches are important
* Large text documents

**How to use:**

1. In the Index Type dropdown, select **"BM25"**
2. Additional option **"Entire Document"** becomes available for chunk size

**Structured Data Index (Beta)**

**What it does:** Organizes data in structured format for SQL-like queries.

**When to use:**

* CSV or Excel files
* Database-like data
* Complex queries and relationships
* One document per index

**How to use:**

1. In the Index Type dropdown, select **"Structured Data (Beta)"**
2. Note: Only CSV and Excel files supported

***

**Chunk Size Configuration**

**What it does:** Determines how documents are divided for indexing and retrieval.

**Available Options:**

* **Lines**: Document divided by line breaks
* **Paragraphs**: Document divided by paragraphs
* **Nano \[128]**: Very small text chunks (128 characters)
* **Micro \[256]**: Small text chunks (256 characters)
* **Small \[512]**: Standard text chunks (512 characters)
* **Medium \[1024]**: Larger text chunks (1024 characters)
* **Large \[2048]**: Very large text chunks (2048 characters)
* **Semantic**: AI-determined natural divisions
* **Intelligent**: Smart chunking based on content
* **Entire Document**: Whole document as one chunk (BM25 only)

**How to use:**

1. Find the **"Chunk Size"** dropdown
2. Select the appropriate chunk size for your documents
3. Consider your document type and query needs

**Recommendations:**

* **Small chunks (Nano/Micro)**: Detailed analysis, specific facts
* **Medium chunks (Small/Medium)**: Balanced context and detail
* **Large chunks (Large/Semantic)**: Broad context, thematic understanding
* **Entire Document**: Complete document analysis

**Number of Chunks**

**What it does:** Controls how many document chunks the agent uses to answer questions.

**How to use:**

1. Find the **"Number of Chunks"** input field
2. Enter a number between 1 and 100
3. Higher numbers = broader context but less precision
4. Lower numbers = focused answers but may miss context

**Recommendations:**

* **1-3 chunks**: Very specific, precise answers
* **4-6 chunks**: Good balance of context and precision
* **7+ chunks**: Broad context, comprehensive answers

***

**Summary Configuration (Summary Index Type Only)**

**What it does:** Sets up AI-powered summarization for document processing.

**When it appears:** Only available when Index Type is set to "Summary"

**Summary Query**

**What it does:** Defines what information to extract from each document.

**How to use:**

1. A text area labelled **"Summary Query"** will appear
2. Type specific instructions for what to summarize
3. Examples:
   * "Extract key findings and conclusions"
   * "Summarize main arguments and evidence"
   * "Pull out important dates, names, and locations"

**Summary model selection**

**What it does:** Chooses which AI model to use for generating summaries.

**How to use:**

1. Click the **model selection button** (shows current model name)
2. A dropdown will appear with available AI models
3. Select the model you want to use for summarization
4. Different models may provide different summary styles

***

#### 4. Actions and Reasoning Configuration <a href="#id-4-actions-and-reasoning-configuration" id="id-4-actions-and-reasoning-configuration"></a>

**What it does:** Sets up advanced reasoning capabilities for analyzing uploaded documents.

**Where to find it:** In the "Actions" panel below the Temporary Index Options

**Reasoning Toggle**

**What it does:** Enables advanced reasoning capabilities for document analysis.

**How to use:**

1. Find the **"Reasoning"** toggle switch
2. Switch it to **"On"** to enable reasoning features
3. Additional options will appear below

**Success Criteria**

**What it does:** Defines what constitutes a successful document analysis.

**How to use:**

1. A text area labelled **"Success Criteria"** will appear
2. Type criteria for what makes a good response
3. Examples:
   * "The answer must include specific quotes from the document"
   * "Response should cover all main points of the query"
   * "Answer must be based only on uploaded document content"

**Reasoning Effort**

**What it does:** Controls how much effort the agent puts into analyzing documents.

**Options:**

* **Low**: 3 interactions maximum - Quick analysis
* **Medium**: 5 interactions maximum - Balanced analysis
* **High**: 7 interactions maximum - Thorough analysis

**How to use:**

1. Find the **"Reasoning Effort"** dropdown
2. Select Low, Medium, or High based on your needs
3. Higher effort = more thorough analysis but slower responses

***

### Common Workflows <a href="#common-workflows" id="common-workflows"></a>

#### Workflow 1: Research Paper Analysis <a href="#workflow-1-research-paper-analysis" id="workflow-1-research-paper-analysis"></a>

**Goal:** Quickly analyse multiple research papers for key findings

**Steps:**

1. Select **Live Documents** as Agent Mode
2. Set Index Type to **"Standard"**
3. Set Chunk Size to **"Medium \[1024]"**
4. Set Number of Chunks to **"3"**
5. In Query Augmentation, add: **"Focus on methodology, results, and conclusions"**
6. Enable Reasoning with **Medium** effort
7. Set Success Criteria: **"Include specific findings and evidence from the papers"**
8. Click **"Refresh Agent"**

**Result:** Users can upload research papers and ask questions like "What are the key findings across these studies?"

***

#### Workflow 2: Contract Review <a href="#workflow-2-contract-review" id="workflow-2-contract-review"></a>

**Goal:** Analyse legal contracts for important clauses and dates

**Steps:**

1. Select **Live Documents** as Agent Mode
2. Set Index Type to **"BM25"**
3. Set Chunk Size to **"Small \[512]"**
4. Set Number of Chunks to **"5"**
5. In Query Augmentation, add: **"Extract all dates, parties involved, and key obligations"**
6. Enable Default Query: **"What are the main terms and conditions in this contract?"**
7. Enable Reasoning with **High** effort
8. Click **"Refresh Agent"**

**Result:** Users can upload contracts and get automated analysis of key terms, dates, and obligations.

***

#### Workflow 3: Meeting Notes Synthesis <a href="#workflow-3-meeting-notes-synthesis" id="workflow-3-meeting-notes-synthesis"></a>

**Goal:** Extract action items and decisions from meeting documents

**Steps:**

1. Select **Live Documents** as Agent Mode
2. Set Index Type to **"Standard"**
3. Set Chunk Size to **"Semantic"**
4. Set Number of Chunks to **"4"**
5. In Query Augmentation, add: **"Look for action items, decisions, and follow-ups"**
6. Set Agent Role to **"Meeting Documents"**
7. Enable Reasoning with **Medium** effort
8. Set Success Criteria: **"List all action items with owners and deadlines"**
9. Click **"Refresh Agent"**

**Result:** Users can upload meeting notes and get organized summaries of decisions and action items.

***

#### Workflow 4: Technical Documentation Review <a href="#workflow-4-technical-documentation-review" id="workflow-4-technical-documentation-review"></a>

**Goal:** Analyse technical specs and documentation for implementation details

**Steps:**

1. Select **Live Documents** as Agent Mode
2. Set Index Type to **"BM25"**
3. Set Chunk Size to **"Large \[2048]"**
4. Set Number of Chunks to **"2"**
5. In Query Augmentation, add: **"Extract API endpoints, parameters, and implementation requirements"**
6. Enable Default Query: **"What are the technical specifications and requirements?"**
7. Enable Reasoning with **Low** effort for quick responses
8. Click **"Refresh Agent"**

**Result:** Users can upload technical documentation and get quick summaries of implementation details.

***

#### Workflow 5: Financial Report Analysis <a href="#workflow-5-financial-report-analysis" id="workflow-5-financial-report-analysis"></a>

**Goal:** Extract key financial metrics and trends from reports

**Steps:**

1. Select **Live Documents** as Agent Mode
2. Set Index Type to **"Structured Data (Beta)"** if CSV/Excel
3. Or use **"Standard"** with Chunk Size **"Small \[512]"**
4. Set Number of Chunks to **"6"**
5. In Query Augmentation, add: **"Focus on revenue, expenses, growth rates, and key ratios"**
6. Set Agent Role to **"Financial Reports"**
7. Enable Reasoning with **High** effort
8. Set Success Criteria: **"Include specific numbers and percentage changes"**
9. Click **"Refresh Agent"**

**Result:** Users can upload financial reports and get detailed analysis of key metrics and trends.

***

### Error Handling & Troubleshooting <a href="#error-handling--troubleshooting" id="error-handling--troubleshooting"></a>

#### Issue: "File upload failed" or "Document not processed" <a href="#issue-file-upload-failed-or-document-not-processed" id="issue-file-upload-failed-or-document-not-processed"></a>

**Cause:** File format not supported or file corrupted.

**Solutions:**

1. **Check file format:**
   * Ensure file is PDF, DOC, DOCX, TXT, CSV, or Excel
   * Convert unsupported formats to supported ones
2. **Check file size:**
   * Large files may fail to upload
   * Try splitting large documents into smaller parts
3. **Verify file integrity:**
   * Ensure file is not corrupted or password-protected
   * Try re-saving the file in a different format

***

#### Issue: Agent gives irrelevant or incorrect answers <a href="#issue-agent-gives-irrelevant-or-incorrect-answers" id="issue-agent-gives-irrelevant-or-incorrect-answers"></a>

**Cause:** Index configuration doesn't match document content or query type.

**Solutions:**

1. **Adjust chunk size:**
   * Try smaller chunks for specific facts
   * Try larger chunks for thematic understanding
2. **Change index type:**
   * Switch from Standard to BM25 for keyword-heavy content
   * Try Structured Data for tabular information
3. **Refine query augmentation:**
   * Add more specific guidance in the query instructions
   * Include examples of what you want to find

***

#### Issue: Document processing takes too long <a href="#issue-document-processing-takes-too-long" id="issue-document-processing-takes-too-long"></a>

**Cause:** Chunk size too small or too many chunks configured.

**Solutions:**

1. **Increase chunk size:**
   * Switch to larger chunks (Medium/Large instead of Small/Micro)
   * Use Semantic or Intelligent chunking
2. **Reduce number of chunks:**
   * Lower the number from 6 to 3-4
   * Focus on quality over quantity
3. **Use BM25 with Entire Document:**
   * For shorter documents that don't need chunking

***

#### Issue: Agent misses important information <a href="#issue-agent-misses-important-information" id="issue-agent-misses-important-information"></a>

**Cause:** Query augmentation too narrow or success criteria too restrictive.

**Solutions:**

1. **Broaden query instructions:**
   * Remove overly specific constraints
   * Use more general guidance
2. **Adjust success criteria:**
   * Make criteria less restrictive
   * Focus on key requirements only
3. **Increase reasoning effort:**
   * Switch from Low to Medium or High
   * Allow more analysis iterations

***

#### Issue: Temporary index doesn't persist <a href="#issue-temporary-index-doesnt-persist" id="issue-temporary-index-doesnt-persist"></a>

**Cause:** Understanding how temporary indexes work in Live Documents mode.

**Solutions:**

1. **Remember session scope:**
   * Indexes exist only for the current session
   * Re-upload documents if you start a new session
2. **Use appropriate mode:**
   * Live Documents is for ad-hoc analysis
   * Use standard modes for persistent knowledge bases
3. **Save important configurations:**
   * Note your preferred settings for reuse
   * Document successful configurations

***

### Tips & Best Practices <a href="#tips--best-practices" id="tips--best-practices"></a>

#### ✓ Best Practice 1: Match Index Type to Content <a href="#best-practice-1-match-index-type-to-content" id="best-practice-1-match-index-type-to-content"></a>

Choose the right indexing approach for your documents:

* **Standard**: Most documents, general analysis
* **BM25**: Legal/tech docs, keyword-heavy content
* **Structured Data**: CSV/Excel files, database queries
* **Summary**: When you need AI-generated summaries

***

#### ✓ Best Practice 2: Optimize Chunk Size for Your Needs <a href="#best-practice-2-optimize-chunk-size-for-your-needs" id="best-practice-2-optimize-chunk-size-for-your-needs"></a>

| Document Type         | Recommended Chunk Size | Number of Chunks |
| --------------------- | ---------------------- | ---------------- |
| **Research papers**   | Medium \[1024]         | 3-4              |
| **Legal contracts**   | Small \[512]           | 4-6              |
| **Technical docs**    | Large \[2048]          | 2-3              |
| **Meeting notes**     | Semantic               | 3-5              |
| **Financial reports** | Small \[512]           | 5-7              |

***

#### ✓ Best Practice 3: Write Effective Query Augmentation <a href="#best-practice-3-write-effective-query-augmentation" id="best-practice-3-write-effective-query-augmentation"></a>

Make your instructions specific but not overly restrictive:

**Good example:** "Extract key findings, methodology, and conclusions from research papers" **Poor example:** "Find everything important"

Include context about your domain and what matters most.

***

#### ✓ Best Practice 4: Use Default Queries for Consistency <a href="#best-practice-4-use-default-queries-for-consistency" id="best-practice-4-use-default-queries-for-consistency"></a>

Set up default queries when you have standard analysis needs:

* **Contract review**: "What are the key terms, dates, and obligations?"
* **Research analysis**: "What are the main findings and implications?"
* **Technical review**: "What are the specifications and requirements?"

***

#### ✓ Best Practice 5: Balance Reasoning Effort and Speed <a href="#best-practice-5-balance-reasoning-effort-and-speed" id="best-practice-5-balance-reasoning-effort-and-speed"></a>

Choose reasoning effort based on your timeline:

* **Low (3 interactions)**: Quick answers, simple analysis
* **Medium (5 interactions)**: Balanced quality and speed
* **High (7 interactions)**: Thorough analysis, best quality

***

#### ✓ Best Practice 6: Test with Sample Documents <a href="#best-practice-6-test-with-sample-documents" id="best-practice-6-test-with-sample-documents"></a>

Before deploying for important work:

* Upload sample documents first
* Test different queries and configurations
* Verify that results meet your expectations
* Adjust settings based on test results

***

#### ✓ Best Practice 7: Use Success Criteria Effectively <a href="#best-practice-7-use-success-criteria-effectively" id="best-practice-7-use-success-criteria-effectively"></a>

Write criteria that focus on quality without being too restrictive:

* Include specific elements you need (quotes, numbers, dates)
* Define what makes an answer "good enough"
* Avoid criteria that are impossible to meet

***

#### ✓ Best Practice 8: Understand Session Limitations <a href="#best-practice-8-understand-session-limitations" id="best-practice-8-understand-session-limitations"></a>

Remember that Live Documents mode is session-based:

* Documents and indexes exist only during your current session
* Re-upload documents if you need them in future sessions
* Use this mode for ad-hoc analysis, not permanent knowledge bases
* Consider standard indexing modes for frequently used documents

***

### Understanding the Interface Elements <a href="#understanding-the-interface-elements" id="understanding-the-interface-elements"></a>

#### Dropdown Menus <a href="#dropdown-menus" id="dropdown-menus"></a>

* **How they work:** Click to expand, then click your choice
* **Used for:** Index Type, Chunk Size, Reasoning Effort
* **Current selection:** Shows your chosen option

#### Input Fields <a href="#input-fields" id="input-fields"></a>

* **How they work:** Click and type to enter numbers
* **Used for:** Number of Chunks, Agent Role configuration
* **Validation:** Some fields have min/max limits

#### Text Areas <a href="#text-areas" id="text-areas"></a>

* **How they work:** Click and type multi-line text
* **Used for:** Query Augmentation, Success Criteria, Summary Query
* **Features:** Expandable for longer instructions

#### Toggle Switches <a href="#toggle-switches" id="toggle-switches"></a>

* **How they work:** Click to switch between On/Off states
* **Used for:** Reasoning, Default Agent Query
* **Visual feedback:** Position indicates current state

#### State Buttons <a href="#state-buttons" id="state-buttons"></a>

* **How they work:** Click to expand/collapse sections
* **Used for:** model selection in summary configuration
* **Visual feedback:** Arrow direction shows expanded/collapsed state

#### File Upload Areas <a href="#file-upload-areas" id="file-upload-areas"></a>

* **How they work:** Drag and drop or click to browse files
* **Used for:** Document uploads during conversations
* **Supported formats:** PDF, DOC, DOCX, TXT, CSV, Excel

***

### Quick Reference Guide <a href="#quick-reference-guide" id="quick-reference-guide"></a>

#### Index Type Comparison <a href="#index-type-comparison" id="index-type-comparison"></a>

| Index Type     | Best For       | Speed  | Accuracy  | Use Case        |
| -------------- | -------------- | ------ | --------- | --------------- |
| **Standard**   | General docs   | Medium | High      | Most documents  |
| **BM25**       | Keyword search | Fast   | High      | Legal/Technical |
| **Structured** | Data tables    | Fast   | Very High | CSV/Excel files |
| **Summary**    | AI summaries   | Slow   | High      | Research papers |

#### Chunk Size Guide <a href="#chunk-size-guide" id="chunk-size-guide"></a>

| Chunk Size         | Characters | Best For       | Speed Impact |
| ------------------ | ---------- | -------------- | ------------ |
| **Nano \[128]**    | 128        | Specific facts | Fast         |
| **Micro \[256]**   | 256        | Short answers  | Fast         |
| **Small \[512]**   | 512        | Balanced       | Medium       |
| **Medium \[1024]** | 1024       | Context-rich   | Medium       |
| **Large \[2048]**  | 2048       | Broad context  | Slow         |
| **Semantic**       | Variable   | Natural breaks | Medium       |
| **Intelligent**    | Variable   | Smart analysis | Slow         |

#### Common Query Augmentation Examples <a href="#common-query-augmentation-examples" id="common-query-augmentation-examples"></a>

**Academic Research:** "Focus on methodology, results, conclusions, and limitations"

**Legal Documents:** "Extract parties involved, dates, obligations, and termination clauses"

**Technical Specifications:** "Find API endpoints, parameters, authentication requirements, and error codes"

**Business Reports:** "Look for revenue figures, growth rates, market analysis, and recommendations"

***

### Frequently Asked Questions <a href="#frequently-asked-questions" id="frequently-asked-questions"></a>

**Q: How long do uploaded documents stay available?** A: Documents and their indexes exist only for the duration of your current session. If you close the session or refresh the page, you'll need to re-upload documents.

***

**Q: What file formats are supported?** A: The system supports PDF, DOC, DOCX, TXT, CSV, and Excel files. Some formats may work better with certain index types (e.g., CSV/Excel with Structured Data index).

***

**Q: Can I upload multiple documents at once?** A: Yes, you can upload multiple documents in a single conversation. The agent will index and analyze all uploaded documents together.

***

**Q: How is Live Documents different from regular document indexing?** A: Live Documents creates temporary indexes on-the-fly for immediate analysis, while regular indexing creates permanent knowledge bases that can be reused across sessions.

***

**Q: Can I save my Live Documents configuration for reuse?** A: Yes, your agent configuration (index settings, query augmentation, etc.) is saved and will be available in future sessions. Only the uploaded documents themselves are temporary.

***

**Q: Why would I use Live Documents instead of standard indexing?** A: Use Live Documents for ad-hoc analysis of new documents, one-time research, or when you don't want to permanently add documents to your knowledge base.

***

**Q: How many documents can I upload at once?** A: There's no strict limit, but very large numbers of documents or very large individual files may impact processing speed and performance.

***

**Q: Can I ask questions that span multiple uploaded documents?** A: Yes, the agent can analyze and compare information across all uploaded documents in a single session, allowing for cross-document analysis and synthesis.

***

**Q: What happens if I upload a document that's already been indexed elsewhere?** A: Each upload creates a fresh temporary index. The agent treats uploaded documents independently of any permanent indexes in your system.

***

**Q: Can I use Live Documents with other agent features?** A: Yes, Live Documents mode works with reasoning, success criteria, and other agent features. You can combine it with standard agent capabilities for enhanced analysis.
