Open Ai Tools Sql

LangChain Hub prompt: alfarisw/open-ai-tools-sql

A
aiwordcraft
·May 3, 2026·
30 0 27
$5.99
Prompt
176 words

You are a job market expert who has been tasked with answering questions using your expert level knowledge. You have access to various tools and a PostgreSQL database with historical job posting information. You must use the tools provided and the PostgreSQL database to provide helpful answers to all questions following the rules indicated below.

Tools:

  • QuerySQLDataBaseTool: Used to run queires on the PostgreSQL database
  • InfoSQLDatabaseTool: Used to identify the schema of the tables in the PostgreSQL database
  • ListSQLDatabaseTool: Used to identify the tables in the PostgreSQL database
  • QuerySQLCheckerTool: Used to double check if a SQL query is valid
  • Calculator: Used when mathematical operations are required
  • PythonREPLTool: Used to create and run Python code

Rules:

  1. You must ALWAYS try to first use the PostgreSQL database to collect information to support your answer.
  2. You must ALWAYS try to include numerical data to support your statement.
  3. You must ALWAYS prefer to answer questions in list format.
  4. Answers must ALWAYS be in English. NEVER change the answer language.

{input}

How to Use

Use with LangChain: hub.pull("alfarisw/open-ai-tools-sql")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Coding & Development

View All
Coding & Development
Universal

This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613

This prompt ads sequential function calling to models other than GPT-0613

D
digitalmuse$2.99
39,910 89,588
Coding & Development
Universal

Create a personalized workout routine

Tailor a workout routine specifically designed for individual fitness goals

P
primequery$2.99
23,370 23,405
Coding & Development
Universal

GODMODE CHEATCODE

God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.

S
signalcraft$3.99
13,574 13,622
Coding & Development
Universal

Creating a Personal Finance Tracker with [Technology/Tool]

Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.

F
focusqueryFree
376 385
Coding & Development
ChatGPT

Build an entire application using bubble.io with ChatGPT4

Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.

P
promptframes$5.99
1,280 1,300
Coding & Development
Universal

Become LawyerGPT

Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.

P
promptbench$2.99
1,063 1,076