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

# Prompt tuning overview

> Learn about the prompt tuning options available for the GraphRAG indexing engine

This page provides an overview of the prompt tuning options available for the GraphRAG indexing engine.

## Default prompts

The default prompts are the simplest way to get started with the GraphRAG system. They are designed to work out-of-the-box with minimal configuration. More details about each of the default prompts for indexing and query can be found on the [manual tuning](/prompt-tuning/manual-tuning) page.

<Card title="Quick start" icon="rocket" href="/quickstart">
  Use default prompts to get started immediately with minimal configuration
</Card>

## Auto tuning

Auto tuning leverages your input data and LLM interactions to create domain-adapted prompts for the generation of the knowledge graph. It is highly encouraged to run it as it will yield better results when executing an index run.

<Card title="Auto tuning" icon="sparkles" href="/prompt-tuning/auto-tuning" iconType="duotone">
  Generate domain-adapted prompts automatically from your input data
</Card>

<Info>
  Auto tuning is **highly recommended** for better indexing results tailored to your specific domain.
</Info>

## Manual tuning

Manual tuning is an advanced use-case. Most users will want to use the auto tuning feature instead. Details about how to use manual configuration are available in the [manual tuning](/prompt-tuning/manual-tuning) page.

<Card title="Manual tuning" icon="pen-to-square" href="/prompt-tuning/manual-tuning" iconType="duotone">
  Customize prompts manually for advanced use cases
</Card>

<Warning>
  Manual tuning is an advanced feature. Most users should use auto tuning instead.
</Warning>

## Tuning workflow

<Steps>
  <Step title="Initialize your workspace">
    Run `graphrag init` to create the necessary configuration files and default prompts.
  </Step>

  <Step title="Choose your tuning method">
    Decide between auto tuning (recommended) or manual tuning based on your needs.
  </Step>

  <Step title="Run prompt tuning">
    Execute the prompt tuning process using the CLI or by manually editing prompt files.
  </Step>

  <Step title="Update configuration">
    Modify your `settings.yaml` to reference the new prompts.
  </Step>

  <Step title="Run indexing">
    Execute `graphrag index` with your tuned prompts for better results.
  </Step>
</Steps>

## Next steps

<CardGroup cols={2}>
  <Card title="Auto tuning" icon="sparkles" href="/prompt-tuning/auto-tuning">
    Learn how to automatically generate domain-adapted prompts
  </Card>

  <Card title="Manual tuning" icon="pen-to-square" href="/prompt-tuning/manual-tuning">
    Explore advanced manual prompt customization
  </Card>

  <Card title="Configuration" icon="gear" href="/configuration/overview">
    Configure GraphRAG settings for optimal performance
  </Card>

  <Card title="Indexing" icon="database" href="/indexing/overview">
    Run the indexing pipeline with your tuned prompts
  </Card>
</CardGroup>
