Skip to content

thinley4/Multiplication-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplication tool

Question

  • Multiply 23746278364 * 23648723678 ?

Actual Answer

Anwer

Grok response

Grok

  • Grok didn’t use any tool for calculation so, the response was incorrect because LLM can't handle complex calculation.

Gemini response

Gemini

  • It use python as a tool/calculator so, that it can handle complex calculation.

I realized the importance of tools in LLM after watching “How I use LLMs” video from Andrej Karpathy.

I wanted to build similar project where tools are integrated with LLM to handle situation where LLM hallucinate.

Input

what's 8282 x 99191?

Output

Below we can see that LLM has used tool for calculation with correct output

My output

I was able to make my custom tool and integrate with LLM model by following this documentation.

To learn more about how tool calling happens? click below link.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages