## Conclusion

In this lab, you learned how to build a complete solution for GraphRAG and Tool Calling AI Agent. Through hands-on practice, you mastered:

- How to use **TiDB Cloud Starter** as a data storage layer for AI applications to accelerate your AI development process;
- How to use dspy to extract Graph structure from text and build knowledge graphs;
- How to transform traditional RAG into GraphRAG using Graph structure to improve information retrieval recall performance;
- How to use the Tool Calling mechanism of large language models (LLM) to enhance AI Agent functionality and capabilities;
- How to build a complete Agent to solve practical problems and achieve intelligent task processing.

These skills will help you master cutting-edge AI technologies and build more intelligent and efficient AI application systems.

If you are interested in GraphRAG, we have an additional lab: [Building an Agent based on TiDB using GraphRAG and Tool Calling](/labs/demo_410). It demonstrates all the steps of GraphRAG, including how to extract graphs.
