adachsoft/internet-search-tool 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adachsoft/internet-search-tool

最新稳定版本:v0.1.0

Composer 安装命令:

composer require adachsoft/internet-search-tool

包简介

AI tool abstraction for internet search implementing adachsoft/ai-tool-call SPI.

README 文档

README

A library providing an AI tool abstraction for internet search, implementing the adachsoft/ai-tool-call SPI. It delegates search queries to an external client implementing adachsoft/internet-search-contract.

Features

  • Implements ToolInterface and ToolFactoryInterface from adachsoft/ai-tool-call.
  • Provides internet_search tool for AI agents.
  • Delegates execution to any InternetSearchClientInterface implementation.
  • Framework-agnostic.

Installation

composer require adachsoft/internet-search-tool

Usage

Register the tool factory in your AiToolCallFacade:

use AdachSoft\AiToolCall\PublicApi\Builder\AiToolCallFacadeBuilder;
use AdachSoft\InternetSearchTool\InternetSearchToolFactory;
use AdachSoft\InternetSearchContract\InternetSearchClientInterface;

/** @var InternetSearchClientInterface $client */
$client = ...; // Your implementation of the client

$facade = AiToolCallFacadeBuilder::new()
    ->withSpiFactories([
        new InternetSearchToolFactory($client),
    ])
    ->build();

// The tool 'internet_search' is now available.

License

MIT

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固