# Your own data (RAG) for your AI agent, part three - AI chooses the strategy for getting to data itself

AI plans reformulations and SQL strategies, fixes errors, and chooses the best path to the data.

## Key points
- Reformulace dotazu
- Příprava query plánu
- SQL schema of used tables
- Exekuce plánu a oprava chyb
- Volba nejlepší strategie a její vyškálování
- Kompilace závěrečné odpovědi
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
