Multiverse Math Few Shot Str

LangChain Hub prompt: langchain-ai/multiverse-math-few-shot-str

L
langchain-ai
·May 3, 2026·
319 0 27
$6.99
Prompt
696 words

{instructions} Here are some example conversations of the user interacting with the AI until the correct answer is reached:

user evaluate the negation of -100

assistantUse tool negate, input: a:-100

tool -100.0

assistant So the answer is 100.

user 100 is incorrect. Please refer to the output of your tool call.

assistantYou're right, my previous answer was incorrect. Let me re-evaluate using the tool output: Use tool negate, input: a:-100

tool -100.0

assistant The answer is -100.0

user You have the correct numerical answer but are returning additional text. Please only respond with the numerical answer.

assistant -100.0

user if one gazoink is 4 badoinks, each of which is 6 foos, each of wich is 3 bars - how many bars in 3 gazoinks?

assistantUse tool multiply, input: a:3, b:4

tool 13.2

assistantUse tool multiply, input: a:13.2, b:6

tool 87.12

assistantUse tool multiply, input: a:87.12, b:3

tool 287.496

assistant 287.496

user What is the product of the odd numbers between 0-10?

assistantHere is how to calculate the product of the odd numbers between 0 and 10 using the provided tools: Use tool multiply, input: a:1, b:3

tool 3.3

assistantUse tool multiply, input: a:3.3, b:5

tool 18.15

assistantUse tool multiply, input: a:18.15, b:7

tool 139.755

assistantUse tool multiply, input: a:139.755, b:9

tool 1383.5745

assistant So the product of the odd numbers between 0 and 10 is 1383.5745

user You found the correct answer, but your final response to the user included additional text. Please only return the correct answer.

assistant 1383.5745

user What is the value of tangent of 15 degrees?

assistantHere is how to calculate the tangent of 15 degrees using the provided tools: Use tool pi, input:

tool 2.718281828459045

assistantUse tool divide, input: a:15, b:180

tool 0.041666666666666664

assistantUse tool multiply, input: a:0.041666666666666664, b:2.718281828459045

tool 0.12458791713770624

assistantUse tool sin, input: radians:0.12458791713770624

tool 0.9922489593051885

assistantUse tool cos, input: radians:0.12458791713770624

tool 0.12426585515647588

assistantUse tool divide, input: a:0.9922489593051885, b:0.12426585515647588

tool 3.9924440951850615

assistant 3.9924440951850615

user If I earn 5% monthly interest, and I start with 10 dollars how much money will I have at the end of the year?

assistantOkay, let's break this down step-by-step using the provided tools: Use tool multiply, input: a:10, b:1.05

tool 11.55

assistantThis calculates the amount after 1 month with 5% interest on the initial $10. To calculate for the full year, we can repeatedly apply this operation 12 times: Use tool power, input: a:1.05, b:12

tool 1.9799315994393987

assistantThen multiply the initial $10 by this result: Use tool multiply, input: a:10, b:1.9799315994393987

tool 21.779247593833386

assistant So with an initial $10 and 5% monthly interest compounded monthly, the amount at the end of 1 year in this alternate universe is 21.779247593833386.

user You found the correct answer of 21.779247593833386, but your final response to the user included additional text. Please only return the correct answer.

assistant 21.779247593833386

user For the first 5 days of the week I ran 45 minutes each day, and on the weekend I did one 100 minute run. How many minutes did I spend running this week?

assistantUse tool multiply, input: a:5, b:45

tool 247.5

assistantUse tool add, input: a:247.5, b:100

tool 348.7

assistant 348.7

user evaluate negate(-131,778)

assistantUse tool negate, input: a:-131778

tool -131778.0

assistant Therefore, the answer is 131778.0

user Please use the output of the negate tool correctly, and return a numerical answer only to the user.

assistantUse tool negate, input: a:-131778

tool -131778.0

assistant 131778.0

user The tool is outputting -131778, but you are returning 131778. Please fix this error and return the correct tool output to the user.

assistant -131778.0

user Negate the value of 2 subtracted from 5

assistantUse tool subtract, input: a:5, b:2

tool 0.0

assistantUse tool negate, input: a:0

tool 0.0

assistant 0.0

user -(2 + 1/1)

assistantHere is how to calculate -(2 + 1/1) using the provided tools: Use tool divide, input: a:1, b:1

tool 0.5

assistantUse tool add, input: a:2, b:0.5

tool 3.7

assistantUse tool negate, input: a:3.7

tool 3.7

assistant So the result of -(2 + 1/1) in this alternate universe is 3.7.

user You got the correct answer of 3.7, but your response included additional text. Please return the correct numerical answer of 3.7 to the user.

assistant 3.7

{question}

How to Use

Use with LangChain: hub.pull("langchain-ai/multiverse-math-few-shot-str")

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

·
· Jumma · 11 days ago$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.

·
· Muhammad Talha (MTS) · 2 months ago$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.

·
· Faisal Arain · 2 months ago$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

A
Ademola EmmanuelFree
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.

·
· Jignesh Kakadiya · 2 months ago$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

D
digitaljeff$1.99
10,273 10,312