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

# Deep Research

> Best practices for Deep Research

## Frame queries as research questions

Queries phrased as investigative questions produce more structured, comprehensive reports.

```bash theme={null}
# Good
{"query": "What are the economic impacts of generative AI on the labor market?"}

# Also good, topic phrase works too
{"query": "generative AI impact on labor market"}
```

## Be specific about scope

Overly broad queries return surface-level results. Narrow the scope with qualifiers like time period, geography, or industry.

```bash theme={null}
# Too broad
{"query": "climate change"}

# Better
{"query": "economic cost of climate change on Southeast Asian agriculture 2020-2025"}
```

## Use sections for structured output

The `sections` array in the response is designed for rendering structured reports. Map each section to a heading in your UI.

```javascript theme={null}
sections.forEach(section => {
  renderSection(section.title, section.content);
});
```

## Cite sources in your output

Always surface the `sources` array to end users for transparency and credibility. Each source has a `title` and `url` field. Factagora internal sources link directly to verified claims or predictions.

```javascript theme={null}
sources.forEach(source => {
  renderCitation(source.title, source.url);
});
```

## Use Deep Research after Fact Checker

If a claim is `UNCERTAIN`, use Deep Research to explore the context in depth before drawing conclusions.

```
Fact Checker → UNCERTAIN → Deep Research (explore context)
```
