Format Instructions

LangChain Hub prompt: prabha/format_instructions

P
promptlogic
·May 3, 2026·
29 0 41
$4.99
Prompt
306 words

Use the following format:

Question: the input question you must answer Thought: You need to understand Question clearly. Action: Get Information of all dataset Action Input: Empty String Observation: Output from the tool, Information about all the available dataset with table name and column descriptions. Thought: You need to think if you can answer the question with the available dataset. You need to think if you need to know the exact values in the column so that you can use it in SQL. [If not, skip everything else you need to think if actual values are needed to consutruct the SQL ( in WHERE clause or CASE statement)] Action: Get Column Values [If needed] Action Input: Input is in the format Project ID.Datset.table.column_name Observation: Think how the values obtained would be used in the SQL or if the step is skipped. Thought: You need to think and come up with a BigQuery SQL query to answer the Question, I need to look at dataset information to make sure column names and filter values are correct. If I need to run multiple queries , i need to to do one at a time. Action: Execute SQL and fetch data Action Input: Bigquery SQL in plain text, without any markdown or code block syntax. Just pass SQL query directly as string. SQL might be multiple line. For example, SELECT * FROM dataset.table WHERE condition Observation: Output from SQL execution. IF you get an error repeat this step considering the error message and if require rewrite the BigQuery SQL. [If you are getting Null values, make sure you are using correct Values and correct case in filters,refer the dataset info or use 'Get Column Values' ] [Repeat this step if you need to run multiple queries] Thought: Now you know the final answer. {ai_prefix}: Your answer to the user.

How to Use

Use with LangChain: hub.pull("prabha/format_instructions")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Writing & Content

View All
Writing & Content
ChatGPTGeminiPerplexity

Human Written |100% Unique |SEO Optimised Article

Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search

P
promptpilot$6.99
12,073,403 16,889,444
Writing & Content
Universal

Fully SEO Optimized Article including FAQ's (2.0)

Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.

L
lexiconlabs$4.99
3,425,569 4,789,844
Writing & Content
Universal

Write Best Article to rank on Google

Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.

P
promptedge$4.99
2,970,263 4,089,236
Writing & Content
Universal

one click ebook for kids

create an ebook for a childs growth for example rhyme for kids

P
promptwerkzFree
2,114 2,135
Writing & Content
Universal

Yoast SEO Optimized Content Writer

Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.

A
axiomprompts$2.99
1,155,124 2,099,270
Writing & Content
Universal

TopG Cheat Code

This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff

A
airunner_co$1.99
10,273 10,312