Settings

Theme

Llama-3.1 supports tool calls via prompting

braintrust.dev

35 points by ankrgyl 2 years ago · 6 comments

Reader

ndr_ 2 years ago

Different approach, which also works with Llama 3.0 8B: let the LLM write the tool invocation of choice in Python syntax, parse the LLM response with the Python AST package. (PoC'y hackathon demo) code here: https://github.com/ndurner/aileen2.

Onawa 2 years ago

https://ollama.com/blog/tool-support Ollama enables tool support for a variety of models now as well, including Llama-3.1.

realprimoh 2 years ago

So do most LLMs now days, no?

  • viraptor 2 years ago

    Kind of. Those that are explicitly trained to do that with consistent formats will do it better. They'll also save you the extra tokens needed to explain the format/method of interacting with functions. But yeah, you can simulate this with any recent model and enough explanation.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection