Hanah

Hanah

wow agent day07 Search Engine Agent

Reference:Dtawhale wow agent day07

Apply for Search Engine API#

We use Bocha API;
Main Features

  • Content compliance and high quality: Data sources and search results comply with domestic safety regulations, data does not go abroad, meeting the application scenarios of B-end enterprise users, providing clean, accurate, and high-quality search results for AI applications.
  • Multi-modal mixed search: Supports keyword + vector mixed search, using bocha-semantic-reranker for secondary sorting, significantly improving the relevance of search results to questions, with search results including web pages, images, videos, Douyin videos, and other multi-modal content.
  • Multi-model AI search: Has integrated top domestic AI large models such as Alibaba Tongyi Qianwen, ByteDance Yunque large model, and Moon's Dark Side Kimi, allowing users to choose different models for search based on specific needs.
  • Intelligent agent search: Introduces AI intelligent agents, providing richer and deeper answers, currently in internal testing phase. Various lifestyle, business, and knowledge intelligent agents such as restaurant search, hotel search, and scenic spot search.

Search Engine Agent#

After customizing llm and loading the API;

This code mainly defines a function named bocha_web_search_tool, which is used to perform online searches through the Bocha Web Search API and integrates it into an agent.

Test#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.