News for hackers. Stuff that matters.
Re:DeepScaleR: Surpassing O1-Preview with a 1.5B Model by Sc... by hellovai on Tuesday February 11, 2025 @08:01PM (#43020501)
yea! even deepseek. Calling an external function / tool calling is really just a data extraction problem.

say you have a tool:

def calculator(expr: str) -> float

then the model just needs to say:

{ "function": "calculator", "args": { "expr": "5 + 10" } }

then in your code you can easily pass that to the "calculator" function and get the result, then hand the result back to the model. Making it feel like the model can "call" an external function.

deep seek can also do this: https://www.boundaryml.com/blog/deepseek-r1-function-calling

There are no comments on this comment yet.