gemini-2.5-pro| input-price: 1.25 output-price: 10 max-context-length: 200_000 (cost: $0.02) Β· Anfrage: 2025-09-25T21:22:34.892769
Generated by rs-summarizer Version unbekannt
Abstract:
This document announces the launch of Ollama's new web search API, designed to augment large language models with real-time information from the internet. The primary goal of this feature is to enhance model accuracy and reduce hallucinations by providing up-to-date context. The capability is delivered as a REST API and is deeply integrated into Ollama's Python and JavaScript libraries, enabling functions like web_search for general queries and web_fetch for retrieving content from specific URLs.
The announcement showcases how to use the API as a tool to build a search agent, which can conduct multi-step research. An example using the qwen3 model reveals other significant 2025 engine updates, including an improved model scheduling system for better performance and memory management, and a new multimodal engine with support for vision models. The API is available to all users with an Ollama account, offering a free tier for individuals and higher rate limits for subscribers.
Ollama Unveils New Web Search API and Engine Enhancements
OLLAMA_API_KEY from their account to get started.ollama>=0.6.0). Users can easily call the search function using ollama.web_search() in Python or client.webSearch() in JavaScript.qwen3:4b model using the tool to answer a user's query about Ollama's new engine.llama4:scout and gemma3, enabling tasks such as image and video analysis.web_fetch API allows models to retrieve and process the content of a specific URL provided by a user.