langchain-and-llamaindex-on-azure-sql
Wires LangChain or LlamaIndex to Azure SQL Database from Python: the SQL toolkits, their text to SQL prompts, the langchain-sqlserver vector store, and the guardrails neither framework enforces. Use when someone asks to "use LangChain with Azure SQL", "build a SQL agent over the database", "text to SQL", "SQLDatabaseToolkit", "NLSQLTableQueryEngine", "which LlamaIndex vector store works with Azure SQL", or "make the SQL agent read only"; when a SQL agent keeps generating LIMIT, its query checker approves a query the database refuses, or its schema tool puts real rows into the prompt; or when a framework-created embedding table refuses CREATE VECTOR INDEX or a metadata filter throws arithmetic overflow. Vector type and query shape are vector-search-azure-sql, the cloud pipeline is rag-on-azure-sql, and drivers and token authentication are connect-from-python. Offline local embedding is an application-side workflow.
Pinned to revision eeb1c6867c2d, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/langchain-and-llamaindex-on-azure-sql/SKILL.md
- skills/langchain-and-llamaindex-on-azure-sql/references/framework-prompts-and-vector-store.md
Every link opens the file at its source, pinned to the revision this page describes.