---
title: "Discussion on \"LangChain, SQL Agents & OpenAI LLMs: Query Database Using Natural Language\" | Hashnode"
description: "Discussion on \"LangChain, SQL Agents & OpenAI LLMs: Query Database Using Natural Language\". Discover how you can harness the power of LangChain, SQL Agents, and OpenAI LLMs to query databases using natural language."
url: "https://hashnode.com/posts/langchain-sql-agents-openai-llms-query-database-using-natural-language/64467ef0f15154871d1df60b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LangChain, SQL Agents & OpenAI LLMs: Query Database Using Natural Language](https://blog.futuresmart.ai/langchain-sql-agents-openai-llms-query-database-using-natural-language?utm_source=hashnode&utm_medium=feed)

Discover how you can harness the power of LangChain, SQL Agents, and OpenAI LLMs to query databases using natural language.

Apr 24, 2023 · 6 min read · blog.futuresmart.ai  
Read the article

-   [#langchain](https://hashnode.com/tag/langchain)
-   [#llm](https://hashnode.com/tag/llm)
-   [#nl2sql](https://hashnode.com/tag/nl2sql)
-   [#agents](https://hashnode.com/tag/agents)

## Written by

[Pradip Nichite](https://hashnode.com/@pnichite)

@pnichite · India

  
[View profile](https://hashnode.com/@pnichite)

Lead Data Scientist | NLP | GPT-3 | GPT-4 | ChatGPT | AWS

🚀 I'm a Top Rated Plus NLP freelancer on Upwork with over $300K in earnings and a 100% Job Success rate. This journey began in 2022 after years of enriching experience in the field of Data Science. 📚 Starting my career in 2013 as a Software Developer focusing on backend and API development, I soon pursued my interest in Data Science by earning my M.Tech in IT from IIIT Bangalore, specializing in Data Science (2016 - 2018). 💼 Upon graduation, I carved out a path in the industry as a Data Scientist at MiQ (2018 - 2020) and later ascended to the role of Lead Data Scientist at Oracle (2020 - 2022). 🌐 Inspired by my freelancing success, I founded FutureSmart AI in September 2022. We provide custom AI solutions for clients using the latest models and techniques in NLP. 🎥 In addition, I run AI Demos, a platform aimed at educating people about the latest AI tools through engaging video demonstrations. 🧰 My technical toolbox encompasses: 🔧 Languages: Python, JavaScript, SQL. 🧪 ML Libraries: PyTorch, Transformers, LangChain. 🔍 Specialties: Semantic Search, Sentence Transformers, Vector Databases. 🖥️ Web Frameworks: FastAPI, Streamlit, Anvil. ☁️ Other: AWS, AWS RDS, MySQL. 🚀 In the fast-evolving landscape of AI, FutureSmart AI and I stand at the forefront, delivering cutting-edge, custom NLP solutions to clients across various industries.

## Responses 1

Markdown supported · ⌘↵ to post

[Varun Foujdhar](https://hashnode.com/@vk04)

[Dec 19, 2023](https://hashnode.com/posts/langchain-sql-agents-openai-llms-query-database-using-natural-language/64467ef0f15154871d1df60b/comment/658137140322c4018396aeb4)

I want to store the verbose output that is generated by create\_sql\_agent, are there any inbuilt langchain methods to do the same??
