A lot of practical/enterprise agent use cases involve both unstructured and structured data. This video guide shows you how to create a custom agent that can query either your LlamaCloud index for RAG-based retrieval or a separate SQL query engine as a tool. In this example, we'll use PDFs of Wikipedia pages of US cities and a SQL database of their populations and states as documents.
Notebook: https://github.com/run-llama/llamacloud-demo/blob/main/examples/advanced_rag/llamacloud_sql_router.ipynb
LlamaCloud: https://cloud.llamaindex.ai/
For enterprise usage, come talk to us: https://www.llamaindex.ai/contact