Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

Tool support · Ollama Blog

Aug 20, 2024 - news.bensbites.com
Ollama, a tool calling platform, has announced support for popular models such as Llama 3.1. This feature allows models to answer prompts using known tools, enabling them to perform complex tasks or interact with the outside world. Tools can be provided via the `tools` field in Ollama’s API, and supported models will respond with a `tool_calls` response. The platform supports various models, including Llama 3.1, Mistral Nemo, Firefunction v2, and Command-R.

Ollama's OpenAI compatible endpoint now also supports tools, allowing the use of Llama 3.1 and other models. Future improvements include streaming tool calls and tool choice, which will force a model to use a tool. The company encourages feedback and collaboration from its users, inviting them to share their thoughts via Discord or email.

Key takeaways:

  • Ollama now supports tool calling with popular models such as Llama 3.1, enabling models to perform more complex tasks or interact with the outside world.
  • To enable tool calling, a list of available tools should be provided via the 'tools' field in Ollama’s API.
  • Supported models will now answer with a 'tool_calls' response, and tool responses can be provided via messages with the 'tool' role.
  • Ollama’s OpenAI compatible endpoint also now supports tools, making it possible to switch to using Llama 3.1 and other models.
View Full Article

Comments (0)

Be the first to comment!