Skip to content

Is there a standard way to pass tools parse the tool calling messages in Llama 3.2? #1958

Closed Answered by RdoubleA
albertbou92 asked this question in Q&A
Discussion options

You must be logged in to vote

Great question. See the documentation here for Llama3.2: https://www.llama.com/docs/model-cards-and-prompt-formats/llama3_2/#-tool-calling-(1b/3b)-

The system prompt in the link above would probably be directly passed into content as a system message Message(role="system", content=system_prompt_with_registered_tools). Generic functions that can quickly do this for the llama model would be generally useful, and could potentially be added to the library.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by albertbou92
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants